You are here: Re: Changing Data Values using CSS « HTML « IT news, forums, messages
Re: Changing Data Values using CSS

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация