Posted by Mark Barratt on 07/18/07 20:28
wrote...
> I have a list of data values that are in an html <span id=x>1. My List
> One</span>. I want to be able in CSS (not change the html) to remove
> the 1. so that when it is displayed all I get is My List One. It
> seems like there should be a way to do this using CSS. Any help would
> be greatly appreciated.
You can't actually process the html content with CSS - that's not
what CSS does.
You should be able to hide the beginning of each item by
positioning it negatively in a block, and setting the block's
overflow property to hidden. This would take some fiddling around
to work properly in all browsers, however.
--
Mark Barratt, angoltanár budapesten
http://www.geocities.com/nyelvmark
Navigation:
[Reply to this message]
|