[thelist] CSS to modify image links

Jacob Stetser lists at icongarden.com
Fri May 11 05:48:12 CDT 2001


a img { border:0px } should do the trick. You might try a { 
border:0px } in addition to see if that helps too.

Depending on the doctype you're using, the border attribute (in HTML, 
not CSS) may not validate! :) So the following suggestion, while 
valid for some versions of HTML, isn't valid for XHTML Strict, for 
example.

Jake


>----- Original Message -----
>From: "Mark Cheng" <mark.cheng at ranger.com.au>
>To: "Thelist at Lists. Evolt. Org" <thelist at lists.evolt.org>
>Sent: Friday, May 11, 2001 7:28 AM
>Subject: [thelist] CSS to modify image links
>
>
>>  Fellow evolters,
>>
>>  using images as links and for some reason ie55 is putting a 2px blue
>border
>>  around the images.  I've tried resetting background-color, margins,
>padding,
>>  borders, even text decorations but I can't get rid of the blue border.
>>
>>  any ideas would be greatly appreciated.
>
>you _have_ done the following, haven't you?
>
><a href="/your/href"><img src="/your/image" blah blah border="0"></a>
>
>... haven't you?  without a URI to critique, it's hard to say :)
>
>--
>   ___  ___ __ _________ @well.com  William Anderson - www.well.com/~neuro
>  / _ \/ -_) // / __/ _ \|  "Oh, God! If you want something done properly,
>/_//_/\__/\_,_/_/  \___/|  kill Baldrick before you start!" -- Blackadder
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list