View Full Version : Image & Link in table


Adept Mercenary
06-20-2003, 11:41 PM
I am having a little difficult getting a link to work in this table. I have the image present, but the link isn't coming up. Here is the code :

<td bgcolor="#000000" cellpadding="5" width="100"><a herf="http://www.a_site.com"><img src="http://www.a_site.com/a_picture.giff"></a></td>
<td bgcolor="#000000" cellpadding="5" width="450"><font color="#00CCFF">For doing something to make the site a better place.</td>

I edited the code a bit, you should know what's edited. So how can I make that code show a picture and a link in a table?

Thanks for any help

pb&j
06-20-2003, 11:48 PM
the image is the link.

can you explain the problem further or link to the page in question?

Adept Mercenary
06-21-2003, 12:45 AM
http://www.geocities.com/xtrememelee/Staff_Thanks.html

at the bottom of the page, there is an image. I want that image to also be a link so when you click it, you can go to it's site, but you can't click it and I am not sure why.

Dude128
06-21-2003, 01:29 AM
it's just a typo :P

you have <a herf...>, but it should be <a href...> :)

Adept Mercenary
06-21-2003, 04:56 AM
wow, don't I feel stupid =|

but thanks, it works :D

Adept Mercenary
06-21-2003, 05:14 AM
Couldn't edit my other message =\

anyways, another quirry, the link works, but there is a light blue "frame" around the image, and I would like it black. How can I get it black without changing the color of the other links?

MaGiCSuN
06-21-2003, 08:55 AM
add this to your <img> tag:

style="border: 1 solid #000000"

Love,
Mirna

Adept Mercenary
06-21-2003, 08:18 PM
ah, a great deal of thanks :D .