You are here: Image Border Problems « HTML « IT news, forums, messages
Image Border Problems

Posted by Cerebral Believer on 10/01/06 06:37

Hi folks,

Anyone know why I see a double border around my images (in Netscape &
Firefox) that use the following code:

HTML:

<td class="valtop" width="1%">
<a class="lisbut" onmouseover="document.getElementById('trk2m').src =
'../../images/listenbuy/mp3_mo.jpg';"
onmouseout="document.getElementById('trk2m').src =
'../../images/listenbuy/mp3.jpg';"
type="audio/x-mpegurl"
href="../../musdir/001Rs/There%20Is%20Still%20Hope.m3u">
<img class="lisbut" id='trk2m' src="../../images/listenbuy/mp3.jpg"
alt="There Is Still Hope (.mp3)"/></a>
<br/>
<a type="audio/x-mpegurl" title="Listen to the .mp3 sample of this track"
href="../../musdir/001Rs/There%20Is%20Still%20Hope.m3u">mp3</a>
<br/></td>

CSS:

..valtop {
vertical-align: top;
text-align: center;
line-height: 40%;
}
..lisbut {
border: 1.5px solid #000000;
}

When I view the pages including this code and referencing the styles cited,
the borders don't appear wrapped tight to the edge of the pictures, and it
looks a mess. Any know how to remedy this?

Regards,
C.B.

 

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

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