Sent by Owen Briggs on 9 August 2002 19:07
8/9/02 4:42:25 AM, "Paul Blake" [EMAIL-REMOVED]>
wrote:
>
>i've adopted the approach of setting font size to 100% in
the <body> tag then using em values elsewhere, as
outlined by Owen Briggs, to overcome IE PC from rendering
the text as useless if the user selects text size smallest from
their menu.
>
>do i take it from the exchanges of the last couple of days
this is now deemed a bad idea?
i currently prefer to get sub-default main text by setting the
% in BODY to less than 100, and leave the main text [P,
and such like] at 1.0em.
this way i can change everything by changing that %, and if
there becomes a problem with the % method, i can just
delete that line until i have time to do more research;
everything snaps back to safe, though rather large, default.
i've noticed that once you get below about 80%, the
browsers don't render exactly the same size anymore, but
it's close enough for me. i presume this is because of how
the different browsers calculate the final result.
quick summary,
i am unaware of any problems with this, unless, as has
been pointed out here, the user sets their browser's default
text to smaller instead of using the browser's text resizing
method. [i'm not worried about that kind of user, but if
anyone chooses to be, that's fine. some people also
believe you should use *only* default main text. they're
allowed! we are not going to restart the holy wars on this
list.]
some people prefer to use keywords instead of %, as is
promoted by a good A List Apart article. i don't, because it
doesn't work for opera win.
if there's another issue that i've missed, please do tell.
i'll update the font thing i wrote once i get time to research
some related items [like one of our browsers zooms em text
but not em line heights, causing overlap at very large sizes],
but afaik the %/em technique itself is solid.
_______________________________________
http://www.thenoodleincident.com