Friday, July 1, 2011

CSS

CSS BACKGROUND

The CSS background-color property is for setting the background color of an element.

Syntax: background-color:
Possible Values: *
* transparent
* inherit
Initial Value: Transparent
Applies to: All elements
Inherited: No
Media: Visual
Example background-color:#ff9900


Try it Yourself


<*style type="text/css">
.colorBox {
font: bold large cursive;
border:1px solid #000000;
background-color:#ff9900;
}
<*/style>
<*div class="colorBox">
<*p>This div element has a background-color of #ff9900<*/p>
<*/div>
PLEASE Remove Firstly All Asterics *

THANK YOU