[thelist] Re: CSS article

Tom Dell'Aringa pixelmech at yahoo.com
Thu Jun 20 17:16:01 CDT 2002


--- Martin Burns <martin at easyweb.co.uk> wrote:
>
> On Thursday, June 20, 2002, at 04:57  pm, Tom Dell'Aringa wrote:
>
> > But if there were a way to use relative sizes, I want to hear it
> > because I'd like to do that.
> > Obviously CSS keywords are not the way to go, so what is?
>
> Tom
>
> If you're happy with the flexibility required from your design with
> relative sizing, and can live with the issues below, use em
>
> Issues with em:
> 1) IE3 renders em as px so 2em renders as 2px
> 2) NN4 ignores em entirely
> 3) em at small sizes (<0.9 or so) can be very small if the user has
> their font size set small
>
> Combined with em, you can use %ages (so if the base size for your main
> text area is 1em, you can set <p> to 90%=0.9em and  <h1> to
> 125%=1.25em), subject to the caveat that IE3 sizes percentages relative
> to the user's default font size, not relative to the parent element (so
> in that example, if you sized the main text area to 1.5em, IE3 would
> still display <p> as 0.9em, not 1.35em)
>
> More info at http://www.alistapart.com/stories/fear4/5.html
>
> Cheers
> Martin

I may try that, not a bad idea. I could care less about IE3 or even NN4. Especially since on my
preliminary logs, all I have been seeing is IE5 and 6. What about the Mac though, my parents use
an iMac with IE5...

Tom

=====
var me = tom.pixelmech.webDeveloper();
http://www.pixelmech.com/

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



More information about the thelist mailing list