overflow: auto on list items. 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 css for the two lists below are
#content ul.publications li
{
overflow: auto ;
}
#content ul.demo li div
{
overflow: auto ;
}
The first list has overflow auto applied to the list items. The bug seems to need the entry to be quite long, or to contain a block level element like p or an heading as demonstrated by the hello world lines below.
The second list below it overflow auto is applied to a dive that wraps the li’s content.
List 1
- Molestie hendrerit dolore vero augue dolor, dolore, dignissim, et commodo te consequat ut. Lorem magna ea veniam, elit facilisis, et feugait, eum facilisi velit hendrerit. At, facilisi eu commodo dolore volutpat autem tation nibh duis veniam nulla hendrerit. Ea consequat velit enim ad ea nulla nulla. Tincidunt dolor blandit laoreet iriure, tation. Ex esse iriure tincidunt, nonummy quis accumsan autem dolor volutpat accumsan veniam augue dolore amet lobortis enim, suscipit. Wisi magna ut odio, dignissim ipsum consectetuer enim dignissim. Duis ut facilisis sed delenit veniam aliquip, exerci, ut, aliquam praesent exerci consectetuer, hendrerit.
-
Hello World (No p tags)
Hello world (contained in a paragraph)
Hello world (contained in a h3)
-
A slightly more complex list item
Molestie hendrerit dolore vero augue dolor, dolore, dignissim
download (PDF: 1,591kb)
List 2
Below the overflow is applied to a div insted of a list item
-
Molestie hendrerit dolore vero augue dolor, dolore, dignissim, et commodo te consequat ut. Lorem magna ea veniam, elit facilisis, et feugait, eum facilisi velit hendrerit. At, facilisi eu commodo dolore volutpat autem tation nibh duis veniam nulla hendrerit. Ea consequat velit enim ad ea nulla nulla. Tincidunt dolor blandit laoreet iriure, tation. Ex esse iriure tincidunt, nonummy quis accumsan autem dolor volutpat accumsan veniam augue dolore amet lobortis enim, suscipit. Wisi magna ut odio, dignissim ipsum consectetuer enim dignissim. Duis ut facilisis sed delenit veniam aliquip, exerci, ut, aliquam praesent exerci consectetuer, hendrerit.
-
2004 Annual review
A review of Rio Tinto operations.
download (PDF: 4,865kb)
Back to my browser bugs page