Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/11/2004, 08:19
Avatar de kahlito
kahlito
Colaborador
 
Fecha de Ingreso: marzo-2003
Ubicación: En el Estrecho y el mar
Mensajes: 2.936
Antigüedad: 21 años, 2 meses
Puntos: 65
Hola bikeweb para lel cambio de la celda en una tabla lo puedes hacer asi:

Código:
<style type="text/css">
td.fondo {
	background-color:blue;
	}
tr{
	background-color: #996633;
	}
</style>
<body>
<table>
<tr>
<td onmouseover="this.className='fondo'" onmouseout="this.className=''" >Esta es la celda que cambia</td>
</tr>
</table>
</body>
</html>
Y para el cambio de texto incluso de fondo con css asi:

Código:
<style type="text/css">
a.enlacecalles:link {
	text-decoration:none;
	font-size: 12px;
	color: #0033CC;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #0099FF;
	display: block;
	width: 100px;
}
a.enlacecalles:visited {text-decoration:none;
	font-size: 12px;
	color: #0033CC;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #0099FF;
	display: block;}
a.enlacecalles:hover{
	text-decoration:none;
	font-size: 12px;
	color: #FFFFFF;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #006666;
	display: block;
}
a.enlacecalles:active{text-decoration:none;
	font-size: 12px;
	color: #0033CC;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #0099FF;
	display: block;}
</style>
<body>
<a href="#" class="enlacecalles">Cambios fondos </a>
</body>
</html>
Espero que te sirva