Quote:
Originally Posted by Abekonge
You can put css like this on the element.
for example.
|
But you should know that % in vertical margins are defined with respect to the
width of the container, not the height (even if the height is fixed somehow).
So, for a 800x600 portrait screen, ignoring page margins, "margin: 80%" means 600*80/100 = 480 pixels, and in landscape orientation it means 800*80/100 = 640 pixels, which is more than the screen height, not a good idea if you ask me.