A
Ari Heino
I want to add the › (&rsaquo symbol as the list item marker in
my inline style navigation list. Of course I can do that by writing
<ul id="navi">
<li>› <a href="cv.html">CV</a></li>
</ul>
in html and
#navi li {
display: inline;
}
in css. I'd like to insert the marker with something like
#navi li:before {
content: "The desired marker goes here";
}
in the css (alas, not supported by IE) to avoid the messy coding but
#navi li:before {
content: "›";
}
or similar doesn't work; it inserts the entity itself, not the symbol it
represents. Is there a way to make it work (without javascript)? I guess
it's not wise to type the actual symbol itself in the stylesheet.
my inline style navigation list. Of course I can do that by writing
<ul id="navi">
<li>› <a href="cv.html">CV</a></li>
</ul>
in html and
#navi li {
display: inline;
}
in css. I'd like to insert the marker with something like
#navi li:before {
content: "The desired marker goes here";
}
in the css (alas, not supported by IE) to avoid the messy coding but
#navi li:before {
content: "›";
}
or similar doesn't work; it inserts the entity itself, not the symbol it
represents. Is there a way to make it work (without javascript)? I guess
it's not wise to type the actual symbol itself in the stylesheet.