faressoft
faressoft

Reputation: 19651

Why does my HTML page have extra width in IE7?

My HTML page has extra width, but only in IE7. I get horizontal scroll bars even though all the content of the page seems to fit in the browser window.

Take a look:

Upvotes: 5

Views: 1226

Answers (2)

mP.
mP.

Reputation: 18266

Its probably due to the Microsoft Internet Explorer box model where measurements apply to the inner content rather than the outter dimensions of the html element.

Upvotes: 0

sled
sled

Reputation: 14625

I had the same problem, all you need to do is add this to your css:

#footer-widgets { overflow: hidden; }

The cause might be an incorrect float/clearing, it definitely occurs in the div#footer-widgets, if you set it to display: none; the problem disappears ;)

Upvotes: 3

Related Questions