jtaber wrote:
Velda,
that's a really nice example - I noticed some width's (like padding
and the menu bar are in em units while other widths (boxes) are in
pixels (px). I guess I don't understand the advantages of em vs px -
why did you choose one over the other in each case ? thks.
Oh as to the advantage of why I usually use ems? I like being able to
resize text, because I'm blind as a bat without my contacts and have a
habit of doing web design stuff when I've got insomnia. Besides, I
figure there are people who need big text at all hour so I may as well
help them out.
Paragraphs are more readable if they're around 30 characters wide,
regardless of the text size, and if they have about 1-2 characters width
of space around them. If you use pixels to define font sizes, you lose
the ability to resize text. If you use pixels to define paragraphs but
not font sizes, you lose readability (think huge text wrapping far too
much or tiny text not wrapping enough). So I use ems to build the
layout wherever I can. Have a look at the novapages.com layout and
resize the text there - you'll see what I mean. :-)
-v
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net