Posted by Jim Moe on 07/18/07 20:03
sgconger@gmail.com 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.
>
An URL to a test case would be useful.
Is the list in an actual list element like an <ol>? Or a pseudo-list of
some sort?
Given that you have the <span>, I'd guess a pseudo-list. In that case
use another <span> to control the presence of the number:
<span id=x><span class="or_or_off">1. </span>My List One</span>
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Navigation:
[Reply to this message]
|