On 4 May 2005, at 9:06 pm, Michael Ward wrote:

a img {
border:none;
text-decoration:none;
}

That should be specific enough to turn off underline and borders on images inside links.

If the <a> has a border specified, it will still be applied. The <a> wraps around the <img>.
The border won't really be visible in IE, as it positions the <img> slightly lower (covering the border on the <a>). But FF and Safari will show that border, as they position the <img> on the baseline.


Of course, the above code will turn off the default border that UA's apply to images that are inside a <a> box.
Philippe
---/---
Philippe Wittenbergh
now live : <http://emps.l-c-n.com/>
code | design | web projects : <http://www.l-c-n.com/>
IE5 Mac bugs and oddities : <http://www.l-c-n.com/IE5tests/>


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to