Results 1 to 3 of 3

Thread: CSS works in IE7 but not in FF2.0

  1. #1
    Join Date
    Dec 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS works in IE7 but not in FF2.0

    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

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Try this:
    Code:
    #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:
    Code:
    #navigation{
    	width:825px;
    	height:px;
    	background:#ffffff;
    	margin:0 auto;
    	}
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

  3. #3
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    <hey jasontor

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

    Didier

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •