Log in

View Full Version : CSS works in IE7 but not in FF2.0



jasontor
01-02-2009, 06:52 AM
Hello,
I'm just starting to learn CSS/XHTML vs. Table layouts and I'm baffled. I'm using a tableless layout for:

www.directaztest.com/directaz

It looks fine in IE7 but it does not work in FF2.0 - I wish I could give more info but I'm stuck. Can anyone figure this out?

Here is the index page:
www.directaztest.com/directaz

Here is the CSS:
http://www.directaztest.com/directaz/css/daz_1.css

Thanks,

Jasontor

Snookerman
01-02-2009, 11:11 AM
Try this:

#bodymain {
width:825px;
height:100%;
background:#ffffff;
margin:0 auto;
float:left;
font-family: tahoma, verdana, arial;
font-size:12px;
font-weight: normal;
font-style:normal;
color: #333333;
}
There might be other issues, for example this typo:

#navigation{
width:825px;
height:px;
background:#ffffff;
margin:0 auto;
}

bugskiller
01-02-2009, 11:17 AM
<hey jasontor


bodymain {margin:0 auto;} -> replace it by
{margin:0} and it works fine in FF

Didier