Previous Message
Next Message

Re: [css-d] Removing borders from linked images (newbie)

Sent by Eric A. Meyer on 14 June 2002 11:11


At 11:13 -0400 6/14/02, Kevin Smith wrote:
>
On 06.14.2002 10:49 AM, Eric A. Meyer wrote:
>
>>    a img {border: none; border-color: white;}
>
>Dunno if you mistyped, or if there are flavors of NN4.x that behave as
>you're expecting there, but for 4.75 & 4.03 on MacOS, and 4.7 on Windows at
>least, this doesn't work. The closest I've come up with is:
>
>    a img {border:none;color:white}

    Er... either I wasn't thinking about it very much, or I mistpyed. 
But yes, it should be 'color' instead of 'border-color'.  Thanks for 
catching that error.

>Keep in mind that this can break tight layouts because NN4.x still renders a
>2px border.

    True.  I tend to assume that NN4.x will "break" (spread apart) 
tight layouts in any case, but that's also a good point and I should 
have brought it up in the first place.

--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://www.mako4css.com/)
Previous Message
Next Message

Message thread: