- From: Keiji Ikari <kei@teamikaria.com>
- Date: Thu, 9 Oct 2008 19:25:42 +0100
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: "W3C Style List" <www-style@w3.org>
> Have you tried: > a img { > vertical-align: bottom; > } > This will stop the color from showing below your images, since that comes > from images being normally aligned to baseline rather than bottom. > > Of course, if you're using transparency in your images, you'll still have a > problem. That, and the padding. > In the Generated and Replaced Content Module[1] there is the ::outside > pseudo-element, which is what I think you're asking for. It just happens to > generate the pseudo-element around the *outside* of the element, rather than > around the inside. Yeah, that does the trick, thanks.
Received on Thursday, 9 October 2008 18:26:17 UTC