Tema: ?
Ver Mensaje Individual
  #13 (permalink)  
Antiguo 02/10/2010, 01:22
Avatar de jomaruro
jomaruro
Colaborador
 
Fecha de Ingreso: junio-2002
Ubicación: Naboo
Mensajes: 5.442
Antigüedad: 21 años, 10 meses
Puntos: 361
Respuesta: ?

Hola:

Prueba este ejemplo

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.     <head>
  4.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5.         <title>
  6.             ?
  7.         </title>
  8.         <style type="text/css">
  9.             #window {
  10.                 position:relative;
  11.                 width:100%;
  12.                 height:100px;
  13.                 background-color:#f00;
  14.                 float:left;
  15.             }
  16.            
  17.             #bar {
  18.                 position:relative;
  19.                 width:30px;
  20.                 height:100px;
  21.                 background-color:#00f;
  22.                 float:right;
  23.             }
  24.         </style>
  25.     </head
  26.     <body>
  27.         <div id="window">
  28.             <div id="bar"></div>
  29.         </div>
  30.     </body>
  31. </html>

Saludos.