Vale, consigo ke funcione a medias ... en el navegador no me va ... solo en la funcion preview del editor (adobe golive 6). Pego aquí el código:
Código:
<table width="90%" border="0" cellspacing="1" cellpadding="2" class="taula">
<tr>
<td class="ed-titols" width="5%">Id</td>
<td class="ed-titols" width="45%">Descripció</td>
<td class="ed-titols" width="13%">Tema</td>
<td class="ed-titols" width="12%">Data</td>
<td class="ed-titols" width="13%">Llegida (cops)</td>
<td class="ed-titols" width="12%">N. Comentaris</td>
</tr>
<tr onmouseover="this.style.backgroundColor='#E7F0FE'" onmouseout="this.style.backgroundColor='#B9D1F7'">
<td class="ed-valors" width="5%">001</td>
<td class="ed-valors" width="45%" ><a href="#" class = "enllac">Notícia de prova, Subtítol de la notícia de prova </a></td>
<td class="ed-valors" width="13%">Linux</td>
<td class="ed-valors" width="12%">08-08-2003</td>
<td class="ed-valors" width="13%">molts :P</td>
<td class="ed-valors" width="12%">uff!</td>
</tr>
</table>
Ahora la hoja de estilo que uso:
Código:
.taula
{
cellspacing: 1;
cellpadding: 2;
background: #000000;
}
.ed-titols
{
font-family: Arial, Helvetica, Sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
background: #699FF1;
}
.ed-valors
{
font-family: Arial, Helvetica, Sans-serif;
font-size: 9pt;
color: #003399;
}