Firefox problem

This is a discussion on "Firefox problem" within the Web Page Design section. This forum, and the thread "Firefox problem are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 6th, 2006, 08:54
Up'n'Coming Member
Join Date: Aug 2006
Location: Australia
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
Firefox problem

Hey Guys

I'm trying to get a page up and running for my site, it works fine in IE, but for some reason when you view it in Firefox i get a problem. See for your self http://www.freewebs.com/powderhound1...ion%20Map.html

I'm not to sure if this is a css problem or a html problem, but i'm guessing html because i use the one css document for my whole website and all the other pages work fine

This is my html

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <link rel="stylesheet" type="text/css" href="main.css" />
    <meta http-equiv="content-type" c/>
    <meta name="description" c />
<title>Ski Australia - Location Map</title>
</head>

<body>
    <div id="title"><h1>Location Map</h1>
    </div>
        <div id="container">
                <div id="main">
                    <h2>Location Map</h2>
                    
                    <p>Australian Resort Locations and Melbourne/Sydney Driving Map.</p>
                    
                    <span class="gen"><a name="top"></a>
                    </span>
                        <table class="forumline" cellspacing="1" cellpadding="3" border="0" align="center">
                            
                            <tr>
                            <td align="center">
                            <img src="http://wiki.ski.com.au/wiki/images/thumb/0/07/AustraliaDriveMap.gif/720px-AustraliaDriveMap.gif" border="0" />
                            </td>
                            </tr>
                            
                            <tr align="center">
                            <td class="catBottom" height="28"><span class="gensmall"><a href="javascript:window.close();" class="catmedbold">Close Window</a></span></td>
                            </tr>
                            
                        </table>
                        
                        <br>
                        <br>
                        <br>
                    
                    <p class="credits">  | Content by Austin Miller | Template by <a href="http://andreasviklund.com/">Andreas Viklund</a> |  </p>
                </div>
        </div>
</body>
</html>
and this is my css

Code: Select all
@charset "windows-1252";


body    {padding:0;
            margin:0;
            font:76% verdana,tahoma,sans-serif;
            background:#cccccc url(bodybg.gif) repeat;
            color:#303030;
}

a    {text-decoration:none;
        background-color:inherit;
        font-weight:bold;
        color:#008000;
}

a:hover    {background-color:inherit;
            color:#008000;
}

h1    {margin:0;
        font-size:3.6em;
        letter-spacing:-2px;
        text-align:right;
        background-color:inherit;
        color:#505050;
}

h2    {margin:5px 0 10px 0;
        font-size:1.6em;
        letter-spacing:-1px;
        font-weight:normal;
}

h3    {margin:5px 0 10px 0;
        font-size:1.2em;
        letter-spacing: -1px;
        font-weight: normal;
        color: #0E8004;
}


p    {margin:0 0 15px 0;
        line-height:1.3em;
}

img    {float:center;
        margin:0 10px 0px 0;
}
#header {
    margin: auto auto auto 10px;
}

#title    {margin:20px auto -9px auto;
            width:700px;
}

#container    {margin:0 auto 15px auto;
                width:700px;
                padding:10px;
                background:#ffffff;
                color:#303030;
                border:20px solid #505050;
}

#sidebar    {float:left;
                width:110px;
                padding-left:175px; 
}

#main    {width:385px;
            float:right;
}

#footer    {clear:both;
}

.menu    {display:block;
            width:110px;
            padding:4px 2px 4px 10px;
            font-size:1.1em;
            font-weight:bold;
            background-color:inherit;
            color:#008000;
            border:1px solid #ffffff;
}

.menu:hover    {background-color:#f8f8f8;
                color:#416b41;
                border:1px solid #dadada;
}

.credits    {margin-bottom:0;
                font-size:0.8em;
                background-color:inherit;
                color:#aaaaaa;
}

.credits a    {background-color:inherit;
                color:#aaaaaa;
}
any help would be greatly appreciated
Reply With Quote

  #2 (permalink)  
Old Sep 6th, 2006, 09:46
minute44's Avatar
Moderator
Join Date: Apr 2006
Location: Nottingham UK
Age: 24
Posts: 1,347
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to minute44
Re: Firefox problem

oooh err! what odd behaviour. Normally it'd be IE that would chuck a wobbler like that...

Umm, let me look more closely at your code and see what I can see.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Reply With Quote
  #3 (permalink)  
Old Sep 6th, 2006, 10:15
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,617
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
Re: Firefox problem

ewww.....
I just spent a whole week trying to deal with IE bugs, I really didn't expect FF to do this.

I looked at your code in detail, examined it using the "Web Developer Toolbar" (FF extension) but I can't find the problem. Sorry mate...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Reply With Quote
  #4 (permalink)  
Old Sep 6th, 2006, 10:34
Up'n'Coming Member
Join Date: Aug 2006
Location: Australia
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Firefox problem

It stumped me to. But thanks for trying
Reply With Quote
  #5 (permalink)  
Old Sep 6th, 2006, 11:53
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Cool Re: Firefox problem

Wow, I would expect IE to do this sort of thing. Not Firefox
Reply With Quote
  #6 (permalink)  
Old Sep 6th, 2006, 13:08
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,712
Blog Entries: 1
Thanks: 0
Thanked 16 Times in 16 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Firefox problem

Chamnge #main to

#main {
width:695px;
overflow:auto;
}

and remove the float:center on img and the float right on main. You may need to resize the container or the image depending to make it fit exact.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #7 (permalink)  
Old Sep 6th, 2006, 21:46
Up'n'Coming Member
Join Date: Aug 2006
Location: Australia
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Firefox problem

It's worked for that page, but it has made my other pages go weird. So i'm going to make a different css file just for the Location map page.
Thanks for your help

Last edited by Powderhound; Sep 6th, 2006 at 21:54.
Reply With Quote
Reply

Tags
firefox, problem

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Firefox div problem web20 Web Page Design 2 Apr 17th, 2008 16:02
firefox problem ahwell Flash & Multimedia Forum 11 Apr 17th, 2008 11:44
Container Problem in FireFox asengh Web Page Design 8 Dec 12th, 2006 16:23
I'm having a problem with Firefox! majorjc Web Page Design 2 Jan 17th, 2006 15:48


All times are GMT. The time now is 10:26.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43