Home › Forums › CSS › html body default heights › Reply To: html body default heights
September 10, 2013 at 5:13 am
#149616
sadunaresh
Participant
@Paulie.. I understood this behavior… but what is not clear for me described as below
case 1
`html { no background color/image defined }
body { background:#000; }`
browser is filled with black
case 2
`html { background:#fff;
}
body { background:#000; }`
browser is filled with white.. and body’s background color fills only till its contents not till bottom of the viewport as in first case…
please explain…. what makes body change its background rendering on defining background on HTML…?