Click to See Complete Forum and Search --> : % vs px?


Ascendancy
12-19-2006, 07:35 PM
When you use percentages, it makes it so that the page can fit any browser size. So why do people still use pixels, there must be something good about them too.

Centauri
12-19-2006, 09:20 PM
Depends on what you are trying to achieve - you can make a fluid layout setting some elements in pixel sizes (nav bars, news bars etc) and allow other elements to expand to fill the gap without using percentages at all. ems can be useful in a fluid layout to allow for text resizing. Its all about picking what works for you - a layout can easily use combinations of all units.

Cheers
Graeme