Reply to Re: CSS color conditional on content

Your name:

Reply:


Posted by the DtTvB on 11/23/07 17:03

Harlan Messinger wrote:
> Summercool wrote:
>> for CSS, is it possible to say, if the content in the div or span is
>> 0, show the "0" in red, and if it is a "1", show it in green? I can
>> use PHP or any script to do it, but it probably is quite handy to let
>> CSS handle the formatting style without needing server support.
>>
> The answer's still "No".

However, you can use JavaScript to do it.

[Back to original 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

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