[thelist] TROUBLES WITH CSS ON IMAGE
Joan Olivé M.
jolive at tinet.org
Wed Feb 2 12:21:04 CST 2005
Dear Freinds,
I've spent hours trying to understund why the TOP BORDOR dont wont to appear on the images in the small proof:
http://www.seleccar.com/prova-05-02-02/
The case is that I've the next table, inclouding some small pictures, with a CSS-STYLE with the simple effect of changing border color. It's quite easy... But it don't want to work!
The table's code is:
[.......]
<tr>
<td width="172" height="143"><a href="pops/ch-1.htm" target="_blank" class="img-m"><img src="img/ch-05-01/ch-05-01-m1.jpg" width="150" height="113" border="0"></a></td>
<td width="172" height="143"><a href="pops/ch-1.htm" target="_blank" class="img-m"><img src="img/ch-05-01/ch-05-01-m2.jpg" width="150" height="113" border="0"></a></td>
<td width="166" height="143"><a href="pops/ch-1.htm" target="_blank" class="img-m"><img src="img/ch-05-01/ch-05-01-m3.jpg" width="150" height="113" border="0"></a></td>
<td width="174" height="143"><a href="pops/ch-1.htm" target="_blank" class="img-m"><img src="img/ch-05-01/ch-05-01-m4.jpg" width="150" height="113" border="0"></a></td>
<td colspan="2"><a href="pops/ch-1.htm" target="_blank" class="mail">ver fotografias ampliadas </a></td>
</tr>
[.....]
All this, linked to the CSS/STYLE:
.img-m:link {
border-top: 5px solid #000080;
border-right: 5px solid #000080;
border-bottom: 5px solid #000080;
border-left: 5px solid #000080;
}
.img-m:visited {
border-top: 5px solid gray;
border-right: 5px solid gray;
border-bottom: 5px solid gray;
border-left: 5px solid gray;
}
.img-m:hover {
border-top: 5px solid red;
border-right: 5px solid red;
border-bottom: 5px solid red;
border-left: 5px solid red;
}
Any one of you could put some light about the strange reason of not appearing the TOP-BORDER on the pictures?
Thanks a lot in advance
Joan Olivé i Mallafrè
Catalonia
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.848 / Virus Database: 576 - Release Date: 27/01/2005
More information about the thelist
mailing list