Previous Message
Next Message

Re: [css-d] em vs. px vs. pt vs. %

Sent by John Albin Wilkins on 6 February 2002 14:02


Well, I have to agree with Arlen: "This is why I prefer ems. I let the user
keep the 'normal' font, the one she's used to reading, and I scale
everything off that font, to maintain proportions."

Of course, if you have a client that says "make that font smaller", it's
much easier to do what you are suggesting.  I have to admit I've done it.
Plus, it gives you the flexibility to remove it EASILY later.

 - John Albin Wilkins

on 2/6/2002 8:59, Michael Collins at [EMAIL-REMOVED] wrote:

> So is there a problem with setting an absolute font size for the
> major parent tags that enclose text, and then using the em relative
> sizes to fine tune font size? For example:
> 
> p, td, li, a, table, body { font-size:12px;
> font-family:Arial,Verdana,sans-serif; }
> h1 { font-size:1.4em; }
> h2 { font-size:1.2em; }
> .size08 { font-size:0.8em; }
> .size09 { font-size:0.9em; }
> .size11 { font-size:1.1em; }
> 
> ... etc..
Previous Message
Next Message

Message thread:

Possibly related: