Thread: Max-Height
View Single Post
Old 08-20-2010, 11:21 PM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,260
Karma: 6020309
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Almiel View Post
I found this (not sure if it applies to you): "Percentage values refer to the height of the containing block. If the height of the containing block is not specified explicitly (that is, it depends on content height), and this element is not absolutely positioned, the percentage value is treated as none." from http://reference.sitepoint.com/css/max-height

I also found this on the spec page (thought I'd remembered seeing it): "Use of the CSS position property values to achieve absolute positioning (i.e. absolute and fixed) is strongly discouraged."
I am still learning
I assumed the block was: the display page: and I wanted the dingbat not to exceed 10% of available Height (780+px ) (actual size 298)
Sigil did the 10% scale.
None of the other viewers did that.
So I replaced the image (HARD to do in Sigil. Had to add the New one, then Global S+R the name change)

Project success
theducks is offline   Reply With Quote