[thelist] setting base font size in CSS and Netscape 4 collapsing when font sizes are changed

Mark Gallagher mark at cyberfuddle.com
Sun Jun 23 01:00:01 CDT 2002


Roger Newbrook wrote:
> Evolters; I have a problem! (or two)
>
> Firstly, does anyone know a workaround for Netscape 4 trashing the
> stylesheet when a user tries toincrease the font size? it picks it up again,
> with increased size fonts if the page is refreshed. (so i suppose i was
> hoping that i would be able to force a refresh if font size is increased).

Does it pick up the new font-size too?

What I mean is, if the user wants to increase font-size, then you go and
reset it every time he does so, it's going to be rather frustrating for
him, isn't it?

Oh yeah, you said the f-word.  Please, don't say "f**ce" while on
thelist - there could be children and/or corporate censors reading.

> secondly, when my pages are loaded into netscape the font is ridiculously
> small. my stylesheet uses relative sizes but i was wondering how the
> basefont size (i know it's a depracated tag) in the stylesheet so that the
> relative sizes refer to this base font size.

body {
   font-size: 16px;
}
h1 {
   font-size: 200%;
}
p {
   font-size: 100%;
}

And so on.  It's ugly (IMHO), but it's better than nothing.

<snip />


--
Mark Gallagher
http://cyberfuddle.com/infinitebabble/






More information about the thelist mailing list