Forum Moderators: not2easy

Message Too Old, No Replies

Firebird/Mozilla, linked images and css

         

bedlam

7:23 pm on Nov 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hiya folks,

I'm having difficulty preventing hyperlinked images from showing the underline that I apply to text links (I use a hovering dotted bottom border on text-links). In Mozilla/Firebird browsers, the border shows and causes the image to *move* the surrounding content which bugs me ;) Opera and IE show the border on hover too, but at least the images don't move stuff.

Anyone know how I can prevent the images from showing the border?

The css I've tried looks like this:
a:active {
border-width:0 0 1px 0;
border-style:dotted;
}

img a:hover {
border-style:none;
}

Have I cocked up the syntax? Or...

Thanks for any suggestions,

B

[edited by: bedlam at 7:54 pm (utc) on Nov. 15, 2003]

seindal

7:42 pm on Nov 15, 2003 (gmt 0)

10+ Year Member



I have noted too that linked images sometimes move a bit. It usually happens only once, though.