Ver Mensaje Individual
  #9 (permalink)  
Antiguo 16/11/2008, 08:41
Avatar de Aresillo
Aresillo
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Becerril de la Sierra
Mensajes: 958
Antigüedad: 16 años
Puntos: 53
Respuesta: Problema en CSS posiblemente y otras dudas

Bueno pues aquí tienes la solución salchichera porque no tiene otro nombre... que gusto haber dejado las tablas atrás... porque son un horror...
Tienes que sustituir esto:
Código:
<td height="370" style="background-image: url(img/vote.jpg); background-repeat: no-repeat;"><div align="center">
                        <div align="center"><a href="http://l2.hopzone.net/vote.php?site=71990"><img height="60" border="0" width="90" alt="Vote for HopZone.Net" src="http://images.hopzone.net/lineage2/votebanners/lineage2-90x60-1.gif"/></a>
                          </div>
                      <p align="center"><br/><a href="http://l2.hopzone.net"><img border="0" width="7" alt="HopZone.Net - Free Lineage2 Servers" src="http://images.hopzone.net/base/HopZone.gif"/></a></p>					  </div></td>
Por esto:

Código:
<td height="370" valign="top" style="background-image: url(img/vote.jpg); background-repeat: no-repeat;"><br/><br/><br/><br/><br/><br/>
                        <div align="center"><a href="http://l2.hopzone.net/vote.php?site=71990"><img height="60" border="0" width="90" src="http://images.hopzone.net/lineage2/votebanners/lineage2-90x60-1.gif" alt="Vote for HopZone.Net"/></a>
                          <p align="center"><br/><a href="http://l2.hopzone.net"><img border="0" width="7" src="http://images.hopzone.net/base/HopZone.gif" alt="HopZone.Net - Free Lineage2 Servers"/></a></p>					  </div></td>
Te explico lo que he hecho:
Le he puesto la propiedad valign="top" que hace que empieces a escribir en la celda arriba...
El problema después viene porque la imagen se come el fondo...
Por eso le he puesto los <br/> para saltar de línea (y esto si que es cutre salchichero).

Un saludo!

Aresillo!!
PD: Abandona el Internet Explorer!

Última edición por Aresillo; 16/11/2008 a las 09:48