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© <-·´¯`·.¸¸.·´¯
[Back to original message]
|