开发者

CSS Content auto and footer/header stuck

开发者 https://www.devze.com 2023-04-02 06:11 出处:网络
I\'m creating a webpage with CSS. Now i want to have the header (64mm) on top 开发者_Go百科of the page and the footer (25mm) at the bottom of the page.

I'm creating a webpage with CSS. Now i want to have the header (64mm) on top 开发者_Go百科of the page and the footer (25mm) at the bottom of the page. The content must have a auto height between the header and the footer. So the height of the content depends on the heigth of the screen. When I use "position: absolute" and "bottom: 0" for the footer, the content goes under the footer.

How is it possible to make the content end at the footer and make a scrollbar in the content?

Thanks!

0

精彩评论

暂无评论...
验证码 换一张
取 消