Re: Override Font tag



Chris schrieb:
I have inherited a CMS system which allows users to format content themselves. Much of the formatting is done using font tags. I want to be able to convert some of the pages to be more accessible to disabled users. Is there any I can do to override the font tag via css? I have been playing around with the inherit feature but of css but IE 6 doesn't seem to recognise it. Am I doing something wrong or is it not supported? Ideally I want a solution that is v.4 upwards compatible. Any ideas, regards, Chris.


ASFAIK their is a order in which color, formats, font-style and so on are used:

Specified by style-Attribut
Specified by font-tag
Specified in internal Stylesheets
Specified in external Stylesheets

To override any specification which is above in the list with any which below add a !important to that style.
Example:

font{
font: Verdana;!important
color: Green;!important
}
.


Quantcast