开发者

Chrome Rending Extra Whitespace at the End of Web Page

开发者 https://www.devze.com 2023-03-11 08:09 出处:网络
I seem to be getting some extra white-space at the bottom of my page in chrome (IE, FF and safari all work)

I seem to be getting some extra white-space at the bottom of my page in chrome (IE, FF and safari all work)

I can replicate the issue in Firefox by setting both the <body> and <html> elements to height: 100%;

I can get rid of the issue by setting overflow: hidden; but this won'开发者_运维知识库t work because if the document grows past the height of the window i won't get scroll bars.

The <html> element does have a background color.

demo: http://futurewebblog.com/demos/movie-searcher/

Update: False alarm, it seems to be an isolated issue with my version of chrome, i just did a quick update and it fixed it straight away


It's said to be a webkit bug that you can solve by

html {background-color: #000;}

with the color of your choice.

0

精彩评论

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