Previous Message
Next Message

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

Sent by Al Sparber on 30 January 2002 17:05


----- Original Message -----
From: "Scott Andrew LePera" [EMAIL-REMOVED]>
To: "CSS Discuss" [EMAIL-REMOVED]>
Sent: Wednesday, January 30, 2002 4:57 PM
Subject: Re: [css-d] OT: Lack of Knowledge and the Web Factory


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

Scott,

Next time you get back to Ohio, look me up... I owe you a drink :-)

Sometimes it's the simple things!



Al Sparber- PVII
________________________________________________________
We wrote the book on Dreamweaver Magic!
Dreamweaver Magic Tools and Tutorials: http://www.projectseven.com
PVII DW Newsgroup: news://forums.projectseven.com/pviiwebdev
Previous Message
Next Message

Message thread:

Possibly related: