|
Posted by Ben C on 04/19/07 14:09
On 2007-04-19, vunet.us@gmail.com <vunet.us@gmail.com> wrote:
> We know that users have an ability to set a large or small text size
> in their browsers. WHat is the way, however, to display certain web
> content with a font's fixed size, no matter what settings are used by
> a user's browser? Thanks.
You can set font size with the font-size property to an absolute pixel
size.
Of course the users can still override that, and why shouldn't they.
If you must have the last word, I suppose you could render your text to
an image and use that. Some of the csszengarden pages do that, mainly so
they can use fancy fonts, e.g.
http://www.csszengarden.com/?cssfile=/122/122.css
"The Road to Englightenment" etc. are all images.
Navigation:
[Reply to this message]
|