Forum Moderators: not2easy

Message Too Old, No Replies

increasing text size size using css - possible?

         

LouLou

3:17 pm on Aug 1, 2005 (gmt 0)

10+ Year Member



Can css be used to control the size of text when set to say larger on a browser.

If my text is at medium on the broswer and is defined as 0.75em Verdana ion css, can i tell the broswer when text size is set to larger to increase it to say 1em?

Any thoughts welcome.

Longhaired Genius

4:36 pm on Aug 1, 2005 (gmt 0)

10+ Year Member



No, you can't do that. But you can improve size-adjustment in Internet Explorer by specifying your font-size in percentages at least once. A bug in that browser messes up font-resizing if font-sizes are given only in ems.

What I do is specify font-size 100% on the html element and then use ems where required elsewhere.