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
To remove the trailing comma, use the :last-child pseudo-class, like so:
#taglist li:last-child:after { content: ""; }