Forum Moderators: not2easy

Message Too Old, No Replies

image link decoration in css

         

kumarsena

12:21 am on Oct 20, 2003 (gmt 0)

10+ Year Member



hey,

need to kow how to avoid link decoration for images when using css. i tried the following style to the <a> element but this is not working.

a.imagelink
{ text-decoration:none; }

a.imagelink:hover
{ text-decoration:underline; }

im using IE5 but also tried it on NN7 with the same results.

thanks for any help..

Kumar

birdbrain

3:50 am on Oct 20, 2003 (gmt 0)



hi there kumarsena,

There are two ways to do this


<style type="text/css">
<!--
img{border:0;}
//-->
</style>

or


<img src="some.jpg"alt="image"border="0"/>

birdbrain

kumarsena

1:44 pm on Oct 27, 2003 (gmt 0)

10+ Year Member



thanks birdbrain!