Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/09/2006, 09:37
Avatar de Daniel Ulczyk
Daniel Ulczyk
Super Moderador
 
Fecha de Ingreso: febrero-2005
Ubicación: Buenos Aires
Mensajes: 9.264
Antigüedad: 19 años, 2 meses
Puntos: 2114
Centrar con HTML y CSS

Fijáte el siguiente código:
Código PHP:
 <html>
   <
head>
      <
title>Victoria's Vertical Centering - Test Page</title>
      <style type="text/css">
         html, body   { background-color: red; height: 100%; margin: 0; padding: 0;
                        color: white; text-align: center; }
         div#centered { border: 0; background-color: white; height: 50%; width: 50%;
                        position: absolute; left: 25%; top: 25%; color: black; }
      </style>
   </head>
   <body>
      <div id="centered">
         Vertically centered div
            (<a href="http://murphy.cz/victoria-s-vertical-centering/" title="Victoria'
s Vertical Centering">see comments</a>).
      </div>
   </body> 
de la página: http://murphy.cz/victoria-s-vertical-centering/
De esta forma con HTML y CSS obtenés el efecto deseado. Debés luego insertar el SWF dentro del DIV.
Saludos
</html>
__________________
—Somos lo que hacemos repetidamente. La excelencia, entonces, no es un acto sino un hábito. (Aristóteles dixit)