Ver Mensaje Individual
  #7 (permalink)  
Antiguo 12/01/2014, 17:30
Avatar de satjaen
satjaen
 
Fecha de Ingreso: septiembre-2012
Ubicación: Jaén (Andalucía)
Mensajes: 893
Antigüedad: 11 años, 8 meses
Puntos: 10
Respuesta: Añadir estilo a unas filas.

No da ningún error. No salen los datos, este es el div donde salen los datos:

Código Javascript:
Ver original
  1. <div id="usuario">
  2.           <table width="100%" id="data">  
  3.              <thead>
  4.                    <tr  bgcolor=#DFEBFF>
  5.                      <th><span title="selecc">Selecc.</span></th>
  6.                     <th><span title="id_aviso" >Nº Aviso</span></th>
  7.                     <th><span title="telefonos">Teléfono</span></th>
  8.                     <th><span title="name">Nombre</span></th>
  9.                     <th><span title="calle">Calle</span></th>
  10.                     <th><span title="poblacion">Población</span></th>
  11.                      <th><span title="calle">Aparato</span></th>
  12.                     <th><span title="marca">Marca</span></th>
  13.                     <th><span title="situacion">Situación</span></th>    
  14.                      </tr>
  15.                 </thead>
  16.                 <tbody>
  17.                
  18.      <th><div id="carga1" class="carga1"></div></th>
  19.  
  20.                 </tbody>                  
  21.             </table>
  22.                 </div>


Con este estilo:

Código CSS:
Ver original
  1. #data tr{
  2.    
  3.     background:#FFFFFF;
  4.  
  5. }
  6.  
  7. #data tr:hover{
  8.     background:#DFEBFF;
  9. }

Última edición por satjaen; 12/01/2014 a las 17:37