fixits
Bullets don’t show
Saturday, 05/06/2004 Posted in: CSS
Picked this up on css-d, quoted verbatim:
Matt Tibbits wrote:
I am trying to float an unordered list to the right and when I do the bullets do not display in IE6. They show up in Netscape 7.
Ah yes. Yet another wonderful difference between IE and and Gecko browsers. With enough experimentation, you will find that the markers for lists are affected by margins in one browsers, and padding in other browsers.
For this case, padding:0 on the ul is the culprit. Adding padding-left:1em lets the bullets show for the simple case you describe. Depending on what fonts and font sizes you select, this will need adjustment.
(from Bob Easton)
Matt Tibbits wrote:
I am trying to float an unordered list to the right and when I do the bullets do not display in IE6. They show up in Netscape 7.
Ah yes. Yet another wonderful difference between IE and and Gecko browsers. With enough experimentation, you will find that the markers for lists are affected by margins in one browsers, and padding in other browsers.
For this case, padding:0 on the ul is the culprit. Adding padding-left:1em lets the bullets show for the simple case you describe. Depending on what fonts and font sizes you select, this will need adjustment.
(from Bob Easton)
|
CSS Background Position
Here’s a useful study of how background-position
syntax works in different browsers:
http://www.quirksmode.org/css/backgroundposition.html
http://www.quirksmode.org/css/backgroundposition.html