You are here: Hyperlinking an Image « HTML « IT news, forums, messages
Hyperlinking an Image

Posted by Daniel on 09/28/07 17:11

In a table cell (with a background color) I inserted 2 times the same
transparent image (side by side). Everything appeared normal.

I now added a hyperlink to the images and a navy blue border appears
around each image. I would like to know how to remove the border and
all styling so that the images butt up against one another again.

Here is the code for that cell

<a href="http://localhost/web/insp_add.php?inspid=9">
<td class="conf" colspan="2" title="Time: 9:15
Duration: 2:15 hr(s)
Address: Montréal
Status: Confirmed">
<a href="http://localhost/web/insp_add.php?inspid=9">
<img src="images/inspreq.gif" width="10" height="10"
hspace="0" vspace="0" align="left"/>
</a>
<a href="http://localhost/web/insp_add.php?inspid=9">
<img src="images/inspreq.gif" width="10" height="10"
hspace="0" vspace="0" align="left"/>
</a>
</td>
</a>

I have tried the following in my css file

link {
margin: 20px;
padding: 0px;
border:none;
text-decoration:none;
}

a {
text-decoration:none;
border:none;
}

but it doesn't seem to do anything.

Thank you for your help,

Daniel

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация