tags:

views:

117

answers:

2
#sitenavmenu-content-menu li:before
{
    content:"|  ";
}

I want to add a | and two spaces before each list item. However, for some reason it prints the word nbsp and not the space. Any ideas?

A: 

Fixed it by copying and pasting the non-breaking space from character map into my code editor.

SLC
Works but I would not do it that way. Too easy to break.
Tomalak
+2  A: 

http://stackoverflow.com/questions/190396/adding-html-entities-using-css-content

Sjoerd
Thanks I'll use the unicode method.
SLC