Results 1 to 4 of 4

Thread: Is this a CSS problem???

  1. #1
    Join Date
    Oct 2007
    Posts
    49
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default Is this a CSS problem???

    I have a site up and I can't get the center table to be flush with the to of the header div in IE. Works fine on Firefox.

    http://www.photocreationsbygem.com/about/index.html

    Any ideas?

    Thanks
    Last edited by Snookerman; 04-22-2009 at 08:03 AM. Reason: added "Resolved" prefix

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

    Default

    I would recommend that you shouldn't use tables for layout since they will cause you many problems and you shouldn't use XHTML since it's not supported by IE.

    To resolve your problem, remove this:
    Code:
    <!--[if IE]>
    <style type="text/css"> 
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColLiqLtHdr #sidebar1 { padding-top: 30px; }
    .twoColLiqLtHdr #mainContent { zoom: 1; padding-top: 15px; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    Good luck!
    Last edited by Snookerman; 03-18-2009 at 04:48 PM. Reason: typo

  3. #3
    Join Date
    Oct 2007
    Posts
    49
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default Thanks

    PERFECT.


    Thanks.....I'm trying to get away from using tables. When I tried using a div in place of it, it worked in IE but not FireFox...


    Thanks so much for your help.

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

    Default

    You're welcome, glad to help!
    You can go to your first post in this thread, click then click Go Advanced and add the Resolved prefix to the thread title.
    This will let other users know the problem has been solved.

    Good luck with your site!

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
  •