You could try the :before pseudo-element:
ul li:before {
content: "| ";
}
ul+li:before {
content: "";
}
Thread Starter
spk
(@spk)
thanks. works, more or less. but generated content is not supported by the crappy IE, right?
Thread Starter
spk
(@spk)
any other trick to do that without using the before pseudo-element?
Thread Starter
spk
(@spk)
or, if i already use the before pseudo, how should i prevent it from putting a character before the first element? cause what i get now looks like:
|| NEWS | ABOUT | LINKS | RECENT | WHATEVER