Reply to Re: CSS font control

Your name:

Reply:


Posted by arbpen on 05/06/06 00:26

Martie wote:
> Been trying to find a way to set a range of acceptable font sizes using CSS.
> Problem is I have several people that are using web page templates to create
> pages, but they're very limit with font control due to the CSS settins.
>
> I've tried defining separate font characteristics for the body and table tags,
> but what if they need several sized fonts for different tables? Since they'd be
> using an editor like FrontPage, they'd be entering their text into a template
> and saving it as a new file. If they try to adjust the fonts from the toolbar,
> they don't work because of the style sheet settings.
>
> They're not interested in viewing and modifying HTML code, so I'm not sure of
> the best way to give them some flexibility in that area?
>
>

To be perfectly honest with you, there isn't much you can do if they're
using an editor like Front Page. FYI, deprecated elements _do_
override style declaration, eg:

<style type="text/css">
p {font-family: serif;
color: red
}
</style>
</head>
<body>
<p><font color="#008000" face="Georgia">This should be in
green</font>.</p>

Will indeed be green, not red.

What you might be able to do, however, is run the document through Tidy
and remove such elements. Then, your stylesheet might just stand a
chance.

--
Adrienne Boswell at work
http://atlas.nextblock.com/files/
Please respond to the group so others can share

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация