| 
	
 | 
 Posted by Adrienne Boswell on 07/18/07 06:20 
Gazing into my crystal ball I observed sgconger@gmail.com writing in  
news:1184738059.285661.97450@e9g2000prf.googlegroups.com: 
 
> 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. 
>  
> Thanks, 
> Susan Conger 
>  
>  
 
AFAIK, there is no way to do that.  You can generate content, but not  
take it away.  What you would want to do is  
<p>My <span class="hide">disappearing</span> text.</p> where .hide would  
be display:none (completely removes the content) or visibility:hidden (is  
still in the document flow).  If this is coming from a server side db or  
something, you could do: 
<ol> 
<!-- start your loop --> 
<li><!-- item --></li> 
<!-- end loop --> 
</ol> 
 
Then you could appropriately style the ol element to show or not. 
 
 
--  
Adrienne Boswell at Home 
Arbpen Web Site Design Services 
http://www.cavalcade-of-coding.info 
Please respond to the group so others can share
 
  
Navigation:
[Reply to this message] 
 |