css problem?

Gizo

New Member
I am slowly getting to know more about HTML and CSS.
on a site I am playing with i am having problems changing the background colour ?here is the HTML

</head>

<body>
<div id="Wrapper">
<div id="heading">
<h1>Aus Fly</h1>
</div>
<h2>online Fly tying resource</h2>

<p>I will type some text in here so I can play with css</p>
</div>

</body>

Here is the CSS
H1 {
font-family:"Comic Sans MS", cursive;
color: #009;
text-align:center;
}



h2 {color:#CC3;
font-size:36px;
text-align:center

}
p {text-align:center
}
/*Divs*/
#wrapper {
background-color:#00F;
}

#heading {background-color:#CCC;
border:#000;
border-style:double
}

why wont the background on the wrapper change colour? I also can not add borders etc either.

when I started a new page and linked it to my CSS as soom as I put in the div wrapper it changed colour

obviously this is not a real site just a very short thing to play with and learn
 
Top