> 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.

I find that em's are nice for padding because you can make the text feel like 
it is the correct distance from the edge regardless of the font size. If you 
use px for padding, it can feel like too much if the font is too small and too 
little if the font is too large.

Using px for widths is common because it makes it easy to use graphics with 
your layout.

Orson


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to