Escrito originalmente por maykol
Por favor alguien me podria ayudar en este asunto sin mandarme al carajo, no lo digo por ti No setup, sino que ya lo he buscado y no encuentro buenas referencias y ademas todo esta confuso, necesito una tabla donde poner noticias, como la de los afiliados, que se distingan las lineas y que no cambie el tamaño por el contenido total que hay de letras.
Para que las tablas y sus celdas no se deformen por el contenido interior deber establecer el ancho en pixeles, no en porcentaje, y no debes meter contenido mas ancho que el ancho de la celda o tabla.
Para que se vean las lineas debes poner el parametro border="xxx" donde xxx es el ancho en pixeles que quieres que tenga la tabla.
Ejemplo:
Codigo:
<table border="1" cellspacing="3" bordercolor="#000080" width="780" bgcolor="#FFFFFF">
<tr>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="12%" bgcolor="#C0C0C0">Afiliado</td>
</tr>
<tr>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="12%" bgcolor="#C0C0C0">Afiliado</td>
</tr>
<tr>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="11%" bgcolor="#C0C0C0">Afiliado</td>
<td width="12%" bgcolor="#C0C0C0">Afiliado</td>
</tr>
</table>