3. Size and Color (No colors set in CSS?)


#1

I'm getting an error saying that the colors aren't set in CSS, but they certainly are.

#header {
    background: #36A3DE;
    height: 40px;
    Width: 100%;
    
}

.left {
    background: #ffffff;
    height: 200px;
    Width: 100%;
    float: left;
}

.right {
    background: #e0e2e2;
    height: 200px;
    Width: 100%;
    float: right;
}
 #footer {
    background: #35657f;
    height: 40px;
    Width: 100%;
    clear: both;
 }
 
 body {
     margin: -1px;
 }

#2

You are using background instead of background-color, also you have Width instead of width.


#3

It was "background". It's strange though. It still worked the same. What is the difference?


#4

#5

Brilliant! Thank you for your help :smiley: