Forum Moderators: open

Message Too Old, No Replies

Linking images

How to get rid of that #$%^! box!

         

Don Markstein

6:29 pm on Feb 17, 2003 (gmt 0)

10+ Year Member



I'm sure this is so basic, you'll all roll your eyes at my denseness. But -- let's face it, I'm dense.

I want to make a link out of a non-rectangular image, but without that box around it. I've tried changing both the link color and the vlink color to that of the page's background, but of course, that makes my other links disappear, too.

Obviously, all I need to do is change the colors back after the image. But -- HOW? Nothing I've tried has worked, and I've been to a dozen HTML tutorial pages without finding one that shows me that particular tag. All I really know how to do is set the colors in the Body tag. While I can change the color of the text and change it back without any problem, I can't seem to manage it with links.

I've seen non-rectangular images without the boxes on other sites, so I know it can be done. But I put their code on the screen, and even when I'm looking right at it, I can't figure out how they did it.

This is driving me crazy! How is this done? (And please, make it simple, because when it comes to this stuff, I'm definitely a simpleton.)

stevedob

6:38 pm on Feb 17, 2003 (gmt 0)

10+ Year Member



Add a border="0" attribute to the image link.

Don Markstein

6:59 pm on Feb 17, 2003 (gmt 0)

10+ Year Member



Well, I asked for simple, didn't I? This is so simple, even I can understand it!

And it works, too! Thanks, stevedob! Now I can get on with my day.

g1smd

9:08 pm on Feb 17, 2003 (gmt 0)

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



Run your code through [validator.w3.org...] to see what other simple things you might have overlooked.

Post again (in this thread) if you need more help.

Don Markstein

3:07 am on Feb 18, 2003 (gmt 0)

10+ Year Member



More stuff worth knowing! Man, I am SO glad I found this place!