Posted by Frank Olieu on 02/01/06 04:39
_John Salerno_ skrev | wrote | écrivit (01-02-2006 03:15):
> Frank Olieu wrote:
>> _John Salerno_ skrev | wrote | écrivit (31-01-2006 22:38):
>>
>>> Concerning the joys of working with someone else's markup: Is there a
>>> way to have my external stylesheet override the inline fonts (and other
>>> deprecated style elements) that are in these other html files?
>> I'm not exactly sure what you mean here... but if you're thinking of <font>
>> tags, then yes, you can override them in your external CSS:
>>
>> font {font-family:sans-serif;...}
>
> I don't think that works as written. Inline styles always override
> external styles, right?
What I meant was that if you have this type of HTML code (attributes not to be
confused with inline style!):
<font size="2" face="arial">blah-blah</font>
then you can /style/ the <font> tag using CSS (external or else) in one of the
ways I described in my previous post, and override the values contained in the
HTML attributes. And believe me, it works! (I've been there :)
--
Venlig hilsen | Kind regards | Cordialement
Frank
[Back to original message]
|