Ver Mensaje Individual
  #4 (permalink)  
Antiguo 07/12/2010, 06:58
Avatar de ElMaestroLiendre
ElMaestroLiendre
 
Fecha de Ingreso: diciembre-2010
Mensajes: 8
Antigüedad: 14 años, 3 meses
Puntos: 1
Respuesta: acordeon y tablas

Completo mi mensaje anterior.

Si nunca has creado tablas mediante CSS, ya es hora que lo comiences a hacer. De cualquier forma puedes utilizar el siguiente enlace para bajarte diseños ya realizados. Son más de 80 los expuestos y, si acaso, sólo debes bajártelos y modificarlos a tu gusto.

http://klavina.com/csstablegallery

Aquí te dejo un código de una tabla elegante en CSS, como ejemplo.

table {font: 85% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif;padding: 0; margin: 0; border-collapse: collapse; color: #333; background: #F3F5F7;}
table a {color: #3A4856; text-decoration: none; border-bottom: 1px solid #C6C8CB;}
table a:visited {color: #777;}
table a:hover {color: #000;}
table caption {text-align: left; text-transform: uppercase; padding-bottom: 10px; font: 200% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif;}
table thead th {background: #3A4856; padding: 15px 10px; color: #fff; text-align: left; font-weight: normal;}
table tbody, table thead {border-left: 1px solid #EAECEE; border-right: 1px solid #EAECEE;}
table tbody {border-bottom: 1px solid #EAECEE;}
table tbody td, table tbody th {padding: 10px; background: url("td_back.gif") repeat-x; text-align: left;}
table tbody tr {background: #F3F5F7;}
table tbody tr.odd {background: #F0F2F4;}
table tbody tr:hover {background: #EAECEE; color: #111;}
table tfoot td, table tfoot th, table tfoot tr {text-align: left; font: 120% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif; text-transform: uppercase; background: #fff; padding: 10px;}

Y ya sabes... class="table" y listo.

Última edición por ElMaestroLiendre; 07/12/2010 a las 07:00 Razón: error en el link