Ver Mensaje Individual
  #8 (permalink)  
Antiguo 14/11/2009, 12:01
Avatar de arthpix
arthpix
 
Fecha de Ingreso: diciembre-2003
Ubicación: Cancún
Mensajes: 2.340
Antigüedad: 20 años, 4 meses
Puntos: 93
Respuesta: Grave Error Ayuda Porfavor

Prueba poniendo un contenedor al 100%, la columna izquierda (30%) flotada a la izquierda, la columna derecha (20%) flotada a la derecha y el centro (ancho automático) sin flotar.

Código html:
Ver original
  1. <style type="text/css">
  2. body {
  3. margin: 0 0 0 0;
  4. }
  5. #contenedor {
  6. width: 100%;
  7. }
  8. #a {
  9. width:30%;
  10. background:#999999;
  11. float:left;
  12.  
  13. }
  14. #b {
  15. width:auto;
  16. background:#FFCC00;
  17. }
  18. #c {
  19. width:20%;
  20. background:#66CC00;
  21. float:right;
  22.  
  23. }
  24. </head>
  25. <div id="contenedor">
  26. <div id="a">1</div>
  27. <div id="c">3</div><! El div "c" debe quedar antes del "b" -->
  28. <div id="b">2</div>
  29. </div>
  30. </body>
  31. </html>
__________________
Antes de hacer rabietas infórmate: Linux != Windows