This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by programmer2.0
over 8 years

CSS: An Overview

Hi, I know that there is probably straight forward reason for this not to work but I can’t get this code to work:

body{ background-color: #cc0000; height: 100px; width: 100px; }

Can anyone offer some insight? Cheers

Answer 5608fc7795e378464c0003a1

0 votes

Permalink

you need to set your div to the right background-color, width and height. Not your body.

points
Submitted by stetim94
over 8 years