Please help why doesn't this work


#1

Heres my code, I dont know what is wrong with it.

-----HTML------









mum

poo

sanders


----CSS---

div {
display: inline-block;
margin-left: 5px;
height:100px;
width:100px;
border-radius:100%;
border:solid;
border-width:2px;
}

.friend{
border:dashed 2px ;
color:#FF0000;

}

best_friend{

border:4px solid #00C957;

}

archnemisis {

border:4px solid #CC0000;

}


#2

Please post which exercise you are working on so we can compare.


#3

7/8, for some reason my code is not coming up in the reply.


#4

Your HTML isn't visible. As for your CSS I see a few minor issues.

For your div the border should be "border: 2px solid black;". There is no need to separate the border-width, border-color, etc. Your .friend class border should be "border: 2px dashed #008000;"


#5

Ok thank you, it wasn't much on the HTML side anyway! But thanks a million!