You are here: Re: font color as css « HTML « IT news, forums, messages
Re: font color as css

Posted by Ed Mullen on 12/04/07 15:58

jodleren wrote:
> Hello!
>
> I dont know much about CSS, but in order to get the same colours all
> the time, I try
>
> message_ok { color: #ff0000; }
> message_fail { color: #008000; }
>
> Then
> <font class="message_ok">Success!<font>
> <font class="message_fail">Something went wrong...<font>
>
> But, why does this not work?

Aside from the comments on how to do that properly I have to ask:

Why red for an "ok" condition and green for a "fail" condition? Seems
counter-intuitive to me.

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
How come a slight tax increase costs you two hundred dollars and a
substantial tax cut saves you thirty cents?

 

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

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