You are here: Re: HTML Background Colors « HTML « IT news, forums, messages
Re: HTML Background Colors

Posted by freemont on 09/23/06 20:37

On Sat, 23 Sep 2006 16:34:49 -0400, Leif K-Brooks wrote:

> freemont wrote:
>> *If* the style attribute doesn't count as CSS:
>>
>> <html><body><p><font style="background-color:red;">Hello
>> there</font></p></body></html>
>>
>> I hope you don't think that this is good markup. The font tag is simply
>> not acceptable any more.
>
> Why not put the style attribute on the p element itself?

Because he said "part of the background color of a paragraph". Of course
if he wants the whole <p> colored, that'd be a way to do it. :-)

--
"Because all you of Earth are idiots!"
¯`·.¸¸.·´¯`·-> freemont© <-·´¯`·.¸¸.·´¯

 

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

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