Forum Moderators: open

Message Too Old, No Replies

How to get rid of blue box

around clickable image

         

myrrh

12:24 am on Jan 29, 2008 (gmt 0)

10+ Year Member



I made an image clickable and now it's got this blue box thingy around it. How do I get rid of the blue box thingy?

Philosopher

12:28 am on Jan 29, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



border="0" in the img tag

BlobFisk

10:18 am on Jan 29, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Rather than adding it as an attribute of the img tag, use some CSS:


img {
border: none;
}

That will remove the border from all images.

HTH

g1smd

8:21 pm on Jan 29, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The CSS option will save you a lot of work in the long term.