layout - use vertical percentage for css - height: x%; -
i trying make fluid layout app , having trouble using css height percentages. using horizontal size of window specify height % when want getting percentage vertical size of window. possible or out of luck?
width: x%; height: y%;
x , y being percentage want element be. both being determined horizontal size of window, , want each use it's respective axis.
if use javascript update absolute height of parent node, height % begins mean something. playing around, p or div first generation child of body ignores css height%; wrap in absolute height. if don't know height before hand, use onload js function set it.
Comments
Post a Comment