Foros del Web » Creando para Internet » HTML »

Linea punteada al pasar el mouse por celda

Estas en el tema de Linea punteada al pasar el mouse por celda en el foro de HTML en Foros del Web. Hola amigos del foro, mi consulta es la siguiente estoy haciendo un menu horizontal mi idea es que al pasar por una de las celdas ...
  #1 (permalink)  
Antiguo 23/05/2008, 22:17
 
Fecha de Ingreso: mayo-2008
Mensajes: 112
Antigüedad: 16 años
Puntos: 1
Pregunta Linea punteada al pasar el mouse por celda

Hola amigos del foro,
mi consulta es la siguiente
estoy haciendo un menu horizontal
mi idea es que al pasar por una de las celdas del menu que aparte de cambiar el color, se dibuje una linea punteada por debajo en color blanco,
aca les dejo el codigo

<tr bgcolor="#0099CC">
<td width="39" height="4" valign="top" bgcolor="#333333"></td>
<td width="130" height="4" bgcolor="#333333"></td>
<td width="130" height="4" bgcolor="#333333"></td>
<td width="130" height="4" bgcolor="#333333"></td>
<td width="130" height="4" bgcolor="#333333"></td>
<td width="130" height="4" bgcolor="#333333"></td>
<td height="4" bgcolor="#333333"></td>
</tr>
<tr bgcolor="#0099CC">
<td height="21" valign="top" bgcolor="#333333">&nbsp;</td>
<td width="130" align="center" valign="middle" bordercolor="#FFFFFF" bgcolor="#7CBF10" onclick="window.location.href='index.html'" onmouseover="this.style.backgroundColor='#7CBF10'; this.style.cursor='hand'"
onmouseout="this.style.backgroundColor='#7CBF10'"> <span class="Estilo3">Inicio</span></td>
<td width="130" align="center" valign="middle" bordercolor="#FFFFFF" bgcolor="#333333" onclick="window.location.href='index.html'" onmouseover="this.style.backgroundColor='#58860B'; this.style.cursor='hand'"
onmouseout="this.style.backgroundColor='#333333'"> <span class="Estilo3">Portafolio</span></td>
<td width="130" align="center" valign="middle" bordercolor="#FFFFFF" bgcolor="#333333" onclick="window.location.href='index.html'" onmouseover="this.style.backgroundColor='#58860B'; this.style.cursor='hand'"
onmouseout="this.style.backgroundColor='#333333'"> <span class="Estilo3">Personal</span></td>
<td width="130" align="center" valign="middle" bordercolor="#FFFFFF" bgcolor="#333333" onclick="window.location.href='index.html'" onmouseover="this.style.backgroundColor='#58860B'; this.style.cursor='hand'"
onmouseout="this.style.backgroundColor='#333333'"> <span class="Estilo3">Servicios</span></td>
<td width="130" align="center" valign="middle" bordercolor="#FFFFFF" bgcolor="#333333" onclick="window.location.href='index.html'" onmouseover="this.style.backgroundColor='#58860B'; this.style.cursor='hand'"
onmouseout="this.style.backgroundColor='#333333'"> <span class="Estilo3">Contacto</span></td>
<td valign="top" bgcolor="#333333">&nbsp;</td>
</tr>
<tr bgcolor="#0099CC">
<td height="4" valign="top" bgcolor="#333333"></td>
<td height="4" bgcolor="#333333"></td>
<td height="4" bgcolor="#333333"></td>
<td height="4" bgcolor="#333333"></td>
<td height="4" bgcolor="#333333"></td>
<td height="4" bgcolor="#333333"></td>
<td height="4" bgcolor="#333333"></td>
</tr>




Gracias!
  #2 (permalink)  
Antiguo 24/05/2008, 00:06
Avatar de pateketrueke
Modernizr
 
Fecha de Ingreso: abril-2008
Ubicación: Mexihco-Tenochtitlan
Mensajes: 26.399
Antigüedad: 16 años
Puntos: 2534
Respuesta: Linea punteada al pasar el mouse por celda

this.style.borderBottom='1px dotted white';
__________________
Y U NO RTFM? щ(ºдºщ)

No atiendo por MP nada que no sea personal.
  #3 (permalink)  
Antiguo 24/05/2008, 06:31
 
Fecha de Ingreso: mayo-2008
Mensajes: 112
Antigüedad: 16 años
Puntos: 1
Respuesta: Linea punteada al pasar el mouse por celda

Muchas gracias lo probaré!
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 03:18.