View Single Post
Old 04-21-2010, 10:16 AM   #6
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by mtravellerh View Post
@3: I think defining the margin in percent is the most wise thing to do as the margin/body relation stays the same all through the hardware and adapts to the reflow.
Actually, I was wrong. Setting the margin in % doesn't cause it to scale with text size, it scales with the size of the viewing port. This means that on very narrow devices the margin will almost disappear and on wider ones it will become needlessly large.

At small values like 2% the difference isn't that great, though the text will be on the verge of colliding with the border for those reading on a small phone. A fixed size allows you to avoid wall-to-wall text while preventing the gutter becoming too obvious.

There are ways to incorporate an html fallback for archaic browsers that don't support SVG.
charleski is offline   Reply With Quote