On 25 Mar 2007, at 12:12, Philippe Wittenbergh wrote:
> But <a> is an inline element and it's line-box shouldn't be affected
> by the dimensions of the image.
> Gecko, Webkit, Opera, Konqueror, iCab all behave the same way, btw.
It is the inline nature of the IMG that's making the BG colour shine
through.
Try this CSS:
.imgcenter a img {
display: block; /* removes background issues */
margin: 0 auto; /* centres image, as text-align will no longer
work */
}
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/