W3C home > Mailing lists > Public > www-style@w3.org > January 1999

RE: font size manipulation via end-user's browser controls

From: MarXidad <marxidad@idirect.com>
Date: Thu, 7 Jan 1999 22:09:51 -0500
To: <www-style@w3.org>
Message-ID: <000301be3ab4$5bade580$955688cf@idirect.com>
> Is the end user able to manipulate the font size of text that is
> generated with CSS via browser preferences or browser font size
> controls? Is there an instruction that enables or disables this feature?

Do you mean text that is generated from a style sheet or text with a
font-size specified by CSS? For font-size that's specified by CSS, if the
unit used is relative (em,ex,percentage,or x-small,etc.) then you're able
to still adjust the size with your browser. If the units are fixed/absolute
(mm,cm,in,px,pt) then they won't change size if you try with the browser.

There's an instruction to override that using a user-style-sheet, if you
add "!important" (without quotes) to the end of a declaration, just before
the closing curly bracket. In CSS1, if an author has "!important" in his
style sheet then it overrides the user's, but the user takes precedence in
CSS2.


       /_/ /  /o / /
      / / /  /  / /   Mark Cidade
     / / /) /  / / _  http://www.marxidad.com/glub
    /  \/\  \_/\/\_X/                         ^^^^
Received on Thursday, 7 January 1999 22:10:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:58 GMT