Previous Message
Next Message

CSS and img

Sent by Thierry Koblentz on 14 September 2004 06:06


> Since the BORDER attribute has been depreciated for the IMG tag, how
> does one use CSS to turn off the border for an image with a link?

img {border:0}

For NN4 you cannot set the border to 0 but you can match the background
color:
img {color:WhateverIsYourBackgroundColor}

HTH,
Thierry

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread:

Possibly related: