Sergio del Amo Sergio del Amo - 1 year ago 136
CSS Question

Issue with background color and Google Chrome

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 body:

background: black;
color: white;
font-family: Chaparral Pro, lucida grande, verdana, sans-serif;

This is exactly how I get this problem. I click a link included in an Gmail's email and I get something wrong (no background). I then refresh the page and the background is colored completely.

How do fix this problem?

Answer Source

Never heard of it. Try:

html, body {
  width: 100%;
  height: 100%;
  background-color: #000;
  color: #fff;
  font-family: ...;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download