Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/06/2009, 11:53
Avatar de DragonX
DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 21 años, 10 meses
Puntos: 177
Respuesta: ¿Cómo puedo centrar "flotando" un archivo swf?

puedes colocar tu SWF dentro de un DIV centrado y a tu HTML le quitas el scroll horizontal. ¿como hacerlo?

CSS:
Código css:
Ver original
  1. body{
  2.   overflow-x:hidden;
  3. }
  4. #divflash{
  5.    width:1500px;
  6.    margin:0 auto;
  7. }

Te dejo un ejemplo.......

Código HTML:
Ver original
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
  2.   <head>
  3.     <title>New Document</title>
  4.     <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
  5.     <style type="text/css">
  6. body{
  7.   overflow-x:hidden;
  8. }
  9. #divflash{
  10.    width:1500px;
  11.    margin:0 auto;
  12. }
  13.   </head>
  14.  
  15. <div id="divflash">
  16. TU FLASH ACA!!!
  17. </div>
  18. </body>
  19. </html>

__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho