|
Posted by vunet.us on 04/19/07 14:31
On Apr 19, 10:09 am, Ben C <spams...@spam.eggs> wrote:
> On 2007-04-19, vunet...@gmail.com <vunet...@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.
My web application needs a text size control in one place. I tested
IE7, set pixels keep the size in control unless an option "Ignore Font
Sizes..." checked in the browser. But FF2 behaves differently: it
always increases the size despite the pixels in CSS.
So, there is no ultimate solution other than what was mentioned?
Navigation:
[Reply to this message]
|