Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Internet Explorer: body not stretching too 100% width

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #26744
    bas
    Participant

    Fellow webdevelopers,

    I really hope to solve a problem that I’m currently facing with all versions of IE.
    I’m building my own website, and for some reason, my body is not 100% width. If I specify a red border around my html, I clearly see that the html is 100%width and 100%height. But for some reason, if I specify the same border around my body tag, I see it’s only 960px width, which is utterly weird because I’m not at all restricting the body’s width in the CSS file in any way.

    In firefox, my body is indeed 100% width and height, and has the same dimensions as the html tag. It behaves nicely. So this problem is only occuring in internet explorer, in all versions. I’ve got to mention that I’ve got a page-wrapper inside my body that has a width of 960px.. but I don’t see why my body is, therefore, also a 960px width. Very weird indeed.

    I really do need the body to be a 100% width, so I can let my background-images extend the 960px width of the page-wrapper for screen resolutions beyond 1024×768. Right now it just looks ugly in IE. Any help is appreciated, because I’m stumbled and can’t find out where the bug is hiding.

    URL: http://wp.citroenboom.com – I’ve given the body a border of 2px solid red for clarity, so you can clearly see what I’m talking about in terms of the differences between FF and IE.

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.