Forum Moderators: not2easy
Neophyte
For the line break, is there a specified width to the container that holds the <ul>?
I'm not seeing a problem with the bullets in IE, but they don't show up at all in Firefox or Opera with display: block on the <li>. Move display: block; to ul {display: block;}
My own follow up question:
Moving display: block; repairs the list-item bullets in FF and Opera. Changing the li to li {display: block list-item;} also works. Is it ok to declare multiple value for display?
In Firefox, padding is used to clear the space for the bullet. Since backgrounds display in padding space, this could explain why the BG image displays okay in Firefox.
IE, on the other hand, uses margins to clear the space for the marker box. Since BG images do not display in an element's margins, it could explain why the image is partially cut off in IE.
If you haven't already, you might want to try zeroing out all the margins and padding on the list, then add them in only as needed. This is generally a good idea when dealing with any sort of list, since they are handled so differently on different browsers and platforms. Remember that both the UL and the LIs come with default margins and padding, so...
ul, li{margin0;padding0;}
...is a good start to any list styling project.
cEM