I have been taught that using percentages for tables, and other elements of a web page design are better than using pixels. Could someone reinforce this idea, or suggest why it cannot be good?
Pixels shouldn't be used for declaring font-sizes because it doesn't allow text size adjustments in IE. As for other elements,it depends on your design. If it's a fixed width layout then using pixels is the way to go. If it's an elastic or liquid layouts you can use percentages or ems. here's an article about the different types of layouts.
in terms of width of a page, i prefer to use pixels since you have more control over the presentation. makes less of a headache when adding different techologies such as integration of PHPBB into a Joomla site. i can see how percentages would be preferred by the end user especially for those with wide monitors.
body {font-size: 12px} h1, h2, h3 {font-size: 100%} #divA {font-size: 110%} #divB {font-size: 105%} #divC {font-size: 120%} It is suggested to declare the basic font size and use percentage in other place .
yeah percentage is good.It will auto adjust with the screen resolution.btw stop using tables.Use DIVs.
Hmmm, coming to think of it, I think pixels is better as the web page stays the same and isn't affect by the size of the window. I know on a few sites with a percentage measurement, everything changes just to be able fit in the window, this makes it distorted at times.