Click to See Complete Forum and Search --> : A border with a background color?


Rianna
05-28-2007, 01:05 AM
Hello, isn't it possible to use a border along with a background color in a class? This doesn't seem to be working and thought it would. Please let me know, thanks.

.test {display: block;
background-color: rgb(0, 0, 255);
border-left: 10px #000000; border-top: 10px #000000;
margin-left:0px;
width: 200px;
height: 85px;
}

NogDog
05-28-2007, 01:17 AM
You did not specify a border style, so the default style of "none" was used:

.test {
display : block;
background-color : rgb(0, 0, 255);
border-left : solid 10px #000000;
border-top : solid 10px #000000;
margin-left : 0;
width : 200px;
height : 85px;
}

Rianna
05-28-2007, 01:22 AM
Doi!! Thanks Nog!