View Single Post
Old 03-19-2012, 05:40 AM   #8
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
@JSWolf, I beg to differ. Ref. w3cschools reference page for the height attribute:
Quote:
% Defines the height in percent of the containing block
So according to spec, if you stick an <img> with height:100% inside your <body>, you get... something strange, quite often an image which is as large as the rest of the body content.
If some readers interpret height% in terms of screen height, that's handy (I don't know what abberations Apple adhere to), but it's definitely not universal, and certainly not according to w3c spec.
SBT is offline   Reply With Quote