Previous Message
Next Message

Re: [css-d] Lack of Knowledge and the Web Factory - PRACTICAL ANSWER

Sent by Mark Howells on 30 January 2002 19:07


On Wednesday, January 30, 2002, at 09:08  PM, Al Sparber wrote:

> please answer my CSS question:
>
> How do you use valid CSS to remove the border around an image that is 
> inside
> an <a> tag... while using a strict 4.01 doctype? I must use a strict 
> doctype
> to support the advanced DOM scripting I use, but my "client" will kill 
> the
> deal if he continues to see those ugly borders around his logo.

So I'm guessing they're using a browser which can work with DOM 
scripting? If so, then you can omit border="0" from the image tag and use

<img src="xxx" class="noborder">

with

img.noborder {border:0;width:......... etc}

Mark Howells
<http://www.mark.ac/css>
Previous Message
Next Message

Message thread: