selections & hyperlink image borders

liunx

Guest
Hi, i need to pick the brains of all you css experts out there, I've got a load of image links in a table and I am trying to avoid adding classes to each individual img tag. i thought i could add a class to the table and select the hyperlinks through this selection method:

.thisisthetableclass a {border:#cccccc }
.thisisthetableclass a:hover {border:#ffffff}

unfortunately mozilla does not like this(ie ok), its only wrapping the border around the base of the image..

Does anyone know why it's doing this and can produce a remedy? I know I can add a class to each img but I'm trying to work efficiently and this would be nice and efficient if I can get it working.....

Ta all...Can you post your whole code or provide a link to it? That should be working OK.<!-- m --><a class="postlink" href="http://www.gold2day.co.uk/page2.htm">http://www.gold2day.co.uk/page2.htm</a><!-- m -->
I now have it working in firefox by adding the img but not bloody IE?!!?:

.thisisthetableclass a img{border:#cccccc }
.thisisthetableclass a:hover img{border:#ffffff}
 
Back
Top