|
Posted by Martin Jay on 06/26/06 22:59
In message <EJ-dnZIj5KLXvD3ZRVnysA@bt.com>, Chris
<nospam@btinternet.com> writes
>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.
An interesting problem.
The following displays "Hello there!" using the Arial font in red:
<p><font color="#FF0000" face="Arial">Hello there!</font></p>
Adding the following CSS overrides those settings and displays it in
green Verdana:
font{
font: Verdana;
color: Green;
}
So, perhaps you could explicitly set the font element so that it
displays how you want it to, maybe the same as the body element.
Or... Presumably the CMS content is stored in some sort of database.
Perhaps you could cleanse it of unwanted tags, or modify the script that
displays CMS entries to strips tags before they are sent to the browser.
--
Martin Jay
Phone/SMS: +44 7740 191877
Fax: +44 870 915 2124
[Back to original message]
|