Previous Message
Next Message

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

Sent by Scott Andrew LePera on 30 January 2002 16:04


Al Sparber wrote:


> 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.


Tricky problem.

The closest I could get:

a img {
   color:#ffffff;
}

Replace #ffffff with a color that matches your background-color.  NS4 
doesn't support "inherit" (it becomes green!) and it seems "transparent" 
(which works in NS4) is reserved for background-color rules in CSS2, 
according to the spec:

http://www.w3.org/TR/REC-CSS2/colors.html


scottandrew

-- 
scott andrew lepera
[EMAIL-REMOVED]
web stuff: www.scottandrew.com
music stuff: www.walkingbirds.com
Previous Message
Next Message

Possibly related: