[UPHPU] Adjusting Table

Velda Christensen velda at novapages.com
Fri Jul 27 12:28:16 MDT 2007


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.

I prefer using ems or percentages in most cases, but in the case of the 
products I assumed they'd be using some sort of thumbnail image.  I 
wouldn't want to use a percent on those boxes (defeats the 
auto-adjusting columns thing) and for ems - I could have done that, but 
I find that if the product box around the thumbnail gets is huge while 
the thumbnail itself stays small, it looks a little silly.

The margin on the links at the side is only used to draw a 1 pixel line 
between each link.

If I used px anywhere else, I was probably just not thinking :-p

-V


More information about the UPHPU mailing list