[Javascript] OT: CSS/Text size on IE

Andrew Crawford javascript at evermore.com
Wed May 26 11:41:09 CDT 2004


That seems to be a problem with using absolute font size specifications 
(points or pt) that breaks the larger and smaller functionality of 
browsers.  Try using the em unit for measurement.  That will specify font 
size based on the user's default font size setting, making it a lot more 
friendly to their general browsing preferences.

I am sure there are better references but, here is one:

    http://style.cleverchimp.com/font_size/scale/

Andrew Crawford

At 11:54 AM 5/25/2004 -0300, you wrote:

>I think I just got another Off-Topic, but maybe with JScript it may be solved:
>
>We are ubber lazy people here, so in almost all of our pages we got 
>something like this:
>  <style>
>    * {font-family: Arial; font-size: 10pt;}
>  </style>
>
>   It works pretty fine.. untill you click the "enlarge text" button on 
> IE.. mozilla does the trick fine, but I can't see it working well on IE, 
> anyone has got any idea for a "workaround"?
>
>PS.:  - I know the great ruin it causes because all the <h1> <h2> <pre> 
><etc> looks like the same in size and font style.
>
>Thanks in advance,
>
>---
>Flavio Gomes
>flavio at economisa.com.br
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list