Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

IE7 uneeded horizontal scrollbar


  • Please log in to reply

#1
admin

admin

    Founder Geek

  • Community Leader
  • 24,639 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:

text-align:right
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

http://www.brunildo...._ithscroll.html

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

If you have other examples, please share.
  • 0

Advertisements


#2
Michael

Michael

    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