CSS - Height of 100% minus #px - Header and Footer

后端 未结 5 765
名媛妹妹
名媛妹妹 2020-12-25 12:55

The webpage in question looks like this:

// The Header //
/*            */
/*  CONTENT   */
/*            */
// The footer //

Both the head

5条回答
  •  死守一世寂寞
    2020-12-25 13:16

    This example seems to show the most robust way to do this. Actually, it is a bit buggy in IE, because resizing goes wrong sometimes. Namely, when doing a resize from out of the lower right corner and just do a vertical resize by hand (quite hard to do sometimes), the page will not refresh in IE. I had the same problem with this and just fixed it with JS after all, because of other events on my web page.

    http://www.xs4all.nl/~peterned/examples/csslayout1.html

提交回复
热议问题