Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/07/2009, 14:20
kseso?
Colaborador
 
Fecha de Ingreso: junio-2007
Mensajes: 5.798
Antigüedad: 16 años, 10 meses
Puntos: 539
Respuesta: div dentro de otro div

A ver si es esto lo que quieres hacer:
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; position: relative;}
  7. #texto{
  8.     background: #cdcdcd;
  9.     width:960px;
  10.     height:auto;
  11.     padding: 0 12px;
  12.     margin:0 auto;
  13.     position:relative;
  14.     overflow:hidden;
  15. }
  16. #datos{
  17. background: #555;
  18. width:240px;
  19. height:340px;
  20. display:inline;
  21. float:right;
  22. padding:20px 0px 0 30px;
  23. }
  24. </head>
  25. <div id="texto">
  26. <div id="datos">div datos</div>
  27. <p>aqui va el textoooo</p>
  28. </div>
  29. </body>
  30. </html>
Si fuese eso y no encuentras las dos diferencias, ya nos dirás
Un saludo
__________________
Por una web con mucho estilo
+++ CUENTA ABANDONADA. ¿la quieres? +++