CSS BOTTOM
This describes the vertical offset for the bottom edge of the absolutely positioned element box from the bottom edge of the element’s containing block. For relatively positioned boxes, the offsets are relative to where the box would appear normally in the document flow. Positive values are above the parent block’s bottom edge and negative values are below.
Example
h2 {
display: block;
position: absolute;
top: 20px;
right: 50px;
bottom: 20px;
left: 50px
}
some text
Possible Values
inherit: Explicitly sets the value of this property to that of the parent.
auto: Default offset in the regular layout of the page.
[length]: Refers to an absolute distance from the reference containing block. Negative values are allowed.
[percentage]: Refers to a percentage of the height of the parent containing block. If the parent containing block does not have an explicit value, this value is interpreted like ‘auto’.
2 Responses
Hello. I have some div fixed, but i don’t want it to go in the footer.
Can i put a css trick to fix the div, but to stock this “fixing” once footer is here ?
I want sample code of zoom in and zoom out for ipad.