I have a div element with an absolute position. The position value is important and cannot be changed. How to customize the header, content and footer inside this div?
The height of the header and footer is fixed, and the content should occupy all the remaining space. It is also important that the title is always at the top and bottom at the bottom.
The parent element must also be resized with a southern mutable descriptor, and the content must change its height in accordance with the height of the parent element.
.content {
height: ?;
}
Example situation: http://jsfiddle.net/7gPzF/26/
source
share