Issue with background color and Google Chrome

后端 未结 22 1135
一向
一向 2020-12-08 02:06

Sometimes I get a broken background in Chrome. I do not get this error with any other browser.

This is the simple CSS line responsible for the background color of b

22条回答
  •  庸人自扰
    2020-12-08 02:55

    HTML and body height 100% doesn't work in older IE versions.

    You have to move the backgroundproperties from the body element to the html element.
    That will fix it crossbrowser.

提交回复
热议问题