I’m looking for a way to style an unordered list in XHTML with CSS such that it is rendered inline and the list items are separated by commas.
For example, the follo
It's easy with CSS3 you can use pseudo selector last-child and not at once:
last-child
not
ul#taglist li:not(:last-child):after { content: ", "; }
Check results here https://jsfiddle.net/vpd4bnq1/