SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Sep 2004
    Location
    Savannah
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE 6 CSS Width Issue

    I am having an issue where IE 6 seems to collapse the right and left sides of the container box (seems to be 3px on both sides). I have measured over and over and everything fits correctly in other browsers, however IE 6 pushes down the image in the #center2 div due to the 6px loss.

    I have no idea how to fix this, hope someone can help,

    Thanks
    Last edited by btoler; Sep 21, 2004 at 21:23.

  2. #2
    SitePoint Member
    Join Date
    Sep 2004
    Location
    Savannah
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Figured it out!!!


    Quote Originally Posted by btoler
    I am having an issue where IE 6 seems to collapse the right and left sides of the container box (seems to be 3px on both sides). I have measured over and over and everything fits correctly in other browsers, however IE 6 pushes down the image in the #center2 div due to the 6px loss.

    I have no idea how to fix this, hope someone can help,

    Thanks

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,355
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Sounds like a box model issue

    Please note that it would be helpful if you would post the answer rather than leaving a thread hanging around with no useful information in it

    Paul

  4. #4
    SitePoint Member
    Join Date
    Sep 2004
    Location
    Savannah
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry about that.

    If you are using the xml declaration in the top of your page IE 6 will go into Quirks mode.

    If you remove the xml declaration IE 6 will go into Standards mode.

    The solution was removing the xml declaration.

  5. #5
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,355
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Thanks Now anyone looking at the thread will get some useful info


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
  •