Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

IE7 uneeded horizontal scrollbar

  • Please log in to reply



    Founder Geek

  • Administrator
  • 24,555 posts
Hopefully, this may help others with the same problem. In working with webpages, I've noticed IE7 will sometimes display a horizontol scrollbar, where FireFox, Opera, and even IE6 do not. I found a simple page with an example, and some reasons why:

In presence of italic contents in a shrink-wrapping container, sometimes IE7 displays an unnecessary horizontal scrollbar. In this test case there is a span with hasLayout and text-align:center in effect. The same problem occurs with:

italics in a right widthless float
italics in a widthless absolutely positioned box with right:0
Overflow:auto on the element with italics seems to solve the problem


These can be troublesome to figure out. Hope this helps. :whistling:

If you have other examples, please share.
  • 0




    Retired Staff

  • Retired Staff
  • 1,869 posts
And if anyone wants to now what this bizarre thing called "hasLayout" is http://www.satzansat...vinglayout.html

Edited by Michael, 30 April 2007 - 09:49 PM.

  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP