Forum Moderators: not2easy
Now, if you want a solution that doesn't use the default list-styles, you can:
1. set your ul's list-style: none;
2. set your ul li's background to have an image of a bullet
3. set your ul li's padding-left to however much space you want between the text, and the image
Hope that solves your problem :)
Look at this in the three browsers to see what I mean:
<ul>
<li><span style="margin-left: 0;">A</span></li>
<li><span style="margin-left: -1em;">B</span></li>
<li><span style="margin-left: -2em;">C</span></li>
</ul>
Note: You can replace the <span> with <a>, etc. and it still works as expected.
As IE ignores the style you can offer the look you want in most/all compliant browsers and leave IE to be itself.
Thanks everybody for participating in my conclusion: forget the list-image, use background-images...
Suzy
and besides your way would not enable the replacement of the standard bullet with an image bullet instead without even more HTML, which is usually where this "problem" becomes an issue.
li::marker { padding-right: 3px; } Or at least that's how I believe it works :)