1. NO puedo dubir el DIV de la derecha (amarillo)
2. NO puedo juntar los DIV de arriba (verde)
Código HTML:
<body> <div id="contenedor"> <div id="primero"> <p>primero</p> </div> <div id="segundo"> <p>segundo</p> </div> <div id="izquierda1"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. </div> <div id="izquierda2"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. </div> <div id="derecha"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. </div> </div><!--fin contenedor--> </body>
Código:
este es mi error #contenedor { background:#CCCCCC; width: 700px; height: 1200px; margin: 0 auto; } #primero { width: 700px; height: 100px; background:#00FF00 /*float:left;*/ } #segundo { width: 700px; height: 100px; background:#00FF00; } #izquierda1 { width: 490px; background:#0000FF; float:left; } #izquierda2 { width: 490px; background:#FF00FF; float:left; } div#derecha { width: 200px; height: 400px; background:#FFFF00; float:right; }
Lo que necesito es que el DIV (amarillo) pueda subir
y los DIVs verdes se junten
Ayuda porfa