how to make a border area go around the content of a page where there is a footer fixed to the bottom of the page and an header fixed to the top

Posted by user277498 on Stack Overflow See other posts from Stack Overflow or by user277498
Published on 2011-11-14T01:03:36Z Indexed on 2011/11/14 1:51 UTC
Read the original article Hit count: 168

Filed under:
|

consider the following:

http://jsfiddle.net/PxabT/10/

There are 3 divs hd, bd, ft. hd is fixed to the top. ft is fixed to the bottom.

I want the lime colored border to go totally around the white central area without increasing the height of the ft or hd divs.

How do I achieve that?

Many thanks!

edit: see http://jsfiddle.net/PxabT/15/ which is a step forward by changing the borders to padding.

© Stack Overflow or respective owner

Related posts about html

Related posts about css