Tema: Problema CSS
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/07/2009, 15:50
kseso?
Colaborador
 
Fecha de Ingreso: junio-2007
Mensajes: 5.798
Antigüedad: 16 años, 10 meses
Puntos: 539
Respuesta: Problema CSS

Hola Agustina:
Lo primero de todo, corrige tu código:
Cita:
<div class="#TODO" id="TODO">
<div class="#SITE"id="SITE">
aunque sería preferible que nombrases tus selectores en minúsculas.

Y para centrarlo te faltan un par de cosillas.
A falta de poder trabajar con tu archivo de flash, he modificado algo tu código (sin entrar en lo relativo a tu <objet>
Código html:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="es-es">
  3. <title>Kseso? jugando con css </title>
  4. <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
  5. <style type="text/css">
  6. * {margin:0;padding:0; border:0; outline:none;  position: relative;}
  7. body {background-color: #000000;}
  8. #todo {
  9.     background: url(imagen.jpg) repeat-x scroll left bottom;
  10.     height: 100%;
  11.     width: 100%;
  12.     overflow: hidden;
  13. }
  14. #site {
  15.     height: 750px;
  16.     width: 800px;
  17.     top: 0px;
  18.     background-color: #000000;
  19.     margin: 0 auto;
  20. }
  21. </head>
  22. <div id="todo">
  23.   <div id="site">  
  24.     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="850" height="750">
  25.   <param name="movie" value="site.swf" />
  26.   <param name="quality" value="high" />
  27.   <param name="wmode" value="transparent" />
  28.   <embed src="site.swf" width="800" height="750" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
  29. </object>  
  30.   </div>
  31. </div>
  32. </body>
  33. </html>

Un saludo
__________________
Por una web con mucho estilo
+++ CUENTA ABANDONADA. ¿la quieres? +++