I've got a bunch of lists
<ul>
<li class="first">Item 1</li>
<li>Item 2</li>
<li class="last">Item 3</li>
</ul>
styled with
li:after {
content: ' / ';
}
li.last:after {
content: '';
}
This has to be a sort of commonplace problem. I'm thinking i could either clutter the html and put in intermediary <li>
's containing the character, or i could hook on a javascript to put them in there if IE is the loading browser, but that wouldn't catch people without javascript. Iuno. I'm leaning towards cluttering the html but I'd like to hear if there are some opinions on this.