css: add text before or after by prettyscripts on 2011-12-19 12:09 css use :before and :after psuedo elements with css property content. eg, to separate a list of items with '|': CSS:li:after { content: ' | '; } li:last-child:after { content: ''; } note line 2: no separater after the last item in the list. No feedback yet Comment feed for this postLeave a comment Name: Email: Your email address will not be revealed on this site. Website: Your URL will be displayed. Your vote: PoorExcellent read this! all comments are moderated. do not spam and do not advertise. only comments relevant to the post will be published. Comment text: Options: Auto-BR (Line breaks become <br />) Remember me (For my next comment on this site) Allow message form (Allow users to contact me through a message form -- Your email will not be revealed!) Please enter the answer to the following equation in words (eg one, two, etc). 2 + 4 = :
Leave a comment