What will you use for a webpage layout? Percentage or pixels? When should one use one over theother?
Percentage or Pixel for layouts?
web development;design;websites
What unit you use depends entirely on what you want to accomplish. The units most used in web layouts are:px - absolute; one pixelpt - absolute; 1/72 inch, about 1.3px for screen mediaem - relative to parent font size; 1.0em = size of a character (width of uppercase M)% - relative to parentYou use px for sizes that remain constant, for example a 1px border.You use em for sizes that should follow the font size, for example a 3.0em margin.You use % for sizes that should take up a percentage of the parent, for example a 50% width.For web page layouts you normally use either pixels or percentages depending on if you want a fixed (pixel) layout or a fluid (percentage) based layout. 