li {overflow: auto} generates unnecessary horizontal scroll bar

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.

Test page Workaround is included
Reported by: Marc Pacheco.

Mozilla | Reported on 25 April 2005.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.




Search reports by browser:

Atom RSS

Comments

(Add your own)

1 Posted by Jaap Roes on 25 April 2005 | Permalink

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