li {overflow: auto} generates unnecessary horizontal scroll bar

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

When an li element is set to overflow: auto Firefox creates a horizontal scroll bar in most cases. Short entries not containing block level tags don't suffer from this problem.

The workaround is to wrap the content of a list item in a div and set the overflow on the div instead.

(ppkwarning 03/06: the test page now seems to contain a malicious iframe.)

Test page Workaround is included
Reported by: Marc Pacheco.

Mozilla | Reported on 25 April 2005.

Comments

(Add your own)

Posted by Jaap Roes on 25 April 2005

1

I'm not seeing any scrollbars in the list using a recent firefox nightly, so I guess the bux will be fixed in firefox 1.1

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes