Re: Override Font tag
- From: jojo <jojo.hafner@xxxxxx>
- Date: Tue, 27 Jun 2006 14:28:24 +0200
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
}
.
- Follow-Ups:
- Re: Override Font tag
- From: Andy Dingley <dingbat@xxxxxxxxxxxxxx>
- Re: Override Font tag
- References:
- Override Font tag
- From: Chris
- Override Font tag
- Prev by Date: Re: Program Instalation
- Next by Date: Re: Acrobat.exe stays loaded after leaving .pdf pages
- Previous by thread: Re: Override Font tag
- Next by thread: Re: Override Font tag
- Index(es):