Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/08/2009, 11:25
Avatar de goyo_
goyo_
 
Fecha de Ingreso: agosto-2009
Mensajes: 91
Antigüedad: 14 años, 9 meses
Puntos: 1
Respuesta: Crear una sidebar con HTML y CSS

Código HTML:
<style>
* {margin: 0; padding: 0}
#wrapper {width: 1000px; margin: auto; overflow: auto; background: red;}
#contenido {width: 700px; float: left; background: blue;}
#sidebar {width: 300px; float: right}
</style>

<div id="wrapper">
        <div id="contenido">
        	<div style="height:500px"></div>
        </div>
	<div id="sidebar">Que pedo, Mundo!</div>
</div> 
Ay lo tienes, dos columnas, ponte a jugar