View Single Post
Old 02-15-2013, 02:05 AM   #3
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by Aerys View Post
I think that should be normal that your seeing discrepancies by using "percentages" as measurements since the reader/browser is calculating the position based on the size of the window.

The standard on fixed layout book is to use pixel measurement.
Depends on the elements that contain the element you're styling and on what property the percentages are being applied to:
  • Font sizes measured in percentages are relative to the previous size, and should be reasonably safe.
  • Percentages for things like width or height of an element are relative to the size of the enclosing container. If that enclosing container is not a fixed size, then neither is a percentage of that size. If it is a fixed size, then a percentage of that size should always be the same.
dgatwood is offline   Reply With Quote