I've encountered a problem with boxes. I have set 3 boxes and alligned them perfectly. Once I add the border to the boxes, they misalign!
with his code, the 3 boxes are as image1.jpg (attached)
#boxgrey
{
background-color:#999;
width:220px;
height:200px;
border-radius: 1.5em;
-webkit-border-radius: 1.5em;
-moz-border-radius:1.5em;
position: relative;
margin: 30px 275px;
}
#boxorange1
{
background-color:#D35203;
width:220px;
height:200px;
border-color:#CCC;
border-radius: 1.5em;
-webkit-border-radius: 1.5em;
-moz-border-radius:1.5em;
position: relative;
margin: 30px 85px;
}
#boxorange2
{
background-color:#D35203;
width:220px;
height:200px;
border-color:#CCC;
border-radius: 1.5em;
-webkit-border-radius: 1.5em;
-moz-border-radius:1.5em;
position: relative;
margin: 30px 270px;
}
when I add this code to the 3 boxed, they are as image2.jpg (attached)
border-color:#999;
border-width:4px;
border-style:solid;
any clues? i need them to be like image1.jpg