Alternatively, if you need this in IE <8, you can use the following expression:
UL LI:before,
UL LI .before {
content: "►"
}
UL LI {
list-style:none;
behavior: expression(
function(t){
t.insertAdjacentHTML('afterBegin','<span class="before">►</span>');
t.runtimeStyle.behavior = 'none';
}(this)
);
}
source
share