Home › Forums › CSS › This image border CSS won’t work in IE…why? › Re: This image border CSS won’t work in IE…why?
October 4, 2008 at 3:29 pm
#50335
Participant
I actually don’t think you even need to add the container div around the image —
Try adding this to your CSS:
Code:
table a img.imageBorder {
padding:7px;
background-color:#F5F4F2;
border:1px solid #c8c8c7;
float:left;
margin: 5px;
}
padding:7px;
background-color:#F5F4F2;
border:1px solid #c8c8c7;
float:left;
margin: 5px;
}
Also, if it seems you images are getting the link border try this:
Code:
a img {border:none;}