开发者

CSS/HTML white space

开发者 https://www.devze.com 2023-01-15 19:51 出处:网络
The page isn\'t long enough (I\'m on a 24\" screen), so there i开发者_如何学JAVAs a white space at the bottom. Is there anyway to set some sort of min-height on the page? Or any solution? Never had to

The page isn't long enough (I'm on a 24" screen), so there i开发者_如何学JAVAs a white space at the bottom. Is there anyway to set some sort of min-height on the page? Or any solution? Never had to deal with this before.


Your problem is actually your background-image (200px x 200px white image) over-riding your background-color (#000000) choice.

Try moving your background-image into a different part of the page, like putting wrapping div around your .container_12 with a 100% width.


You can set the body to a background color. What did you want to have at the bottom?


Looks like you need a Sticky Footer.

0

精彩评论

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

关注公众号