Ver Mensaje Individual
  #6 (permalink)  
Antiguo 13/11/2009, 09:11
Avatar de cristian_cena
cristian_cena
Colaborador
 
Fecha de Ingreso: junio-2009
Mensajes: 2.244
Antigüedad: 14 años, 10 meses
Puntos: 269
Respuesta: DIV con SWF sobre tabla

Hola axe:

Hice esto, no se si es la mejor alternativa pero es lo que se me ocurrió

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin t&iacute;tulo</title>
<style type="text/css">
    #relativo {
    position:relative;
    margin-left:auto;
    margin-right:auto;
    width:200px;
    height:200px;
    }
    #absoluto {
    position: absolute;
    top:/*aquí controlas el eje vertical a tu gusto. Ej: 10%, -10px, etc.*/;
    background-color:red;
    width:200px;
    height:200px;
    }
</style>
</head>
<body>
    <div id="relativo">
        <div id="absoluto">
            <p>soy un div absoluto centrado</p>
        </div>
    </div>
</body>
</html> 
Saludos!