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

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]


Удаленная работа для программистов  •  Как заработать на 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

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