SLC SLC - 7 months ago 60
CSS Question

nbsp not working in CSS content tag

Possible Duplicate:

Adding HTML entities using CSS content

#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?


This could be the answer you are looking for :

content: "\007C\00a0\00a0";