HTML
Código HTML:
Ver original
<!DOCTYPE html> <html lang="es"> <head> <link href="style.css" rel="stylesheet" /> </head> <body> <header> <div id="cabeza"> <nav> <div id="botonera"> </div> </nav> </div> </header> <div id="contenido"> <div id="articulo"> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj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div> </aside> <aside> <kbd style="text-decoration:none;"> <div id="comentarios"> <?php for($i = 1;$i<=10 ; $i++) { ?> <div class="comentario"> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj<br /> </div> <?php } ?> </div> </kbd> </aside> <div id="dej_com" class="clase_fuente"> Codigo de seguridad<br /> </div> </body> </html>
CSS
Código CSS:
Ver original
body { background:#369; position:relative; margin:0; } .clase_fuente { font-family:Verdana, Arial, Helvetica, sans-serif; font-weight:900; } #cabeza { position:relative; color:#FFF; width:1000px; height:120px; } h1 { position:relative; top:10px; font-size:40px; font-weight:900; height:auto; margin:0; } #botonera { position:relative; top:50px; left:30px;; width:970px; height:20px; font-size:18px; } #boton1 { position:relative; float:left; width:8%; height:20px; } #boton2 { position:relative; float:left; width:10%; height:20px; } #boton3 { position:relative; float:left; width:6%; height:20px; } #boton4 { position:relative; float:left; width:11%; height:20px; } #contenido { position:relative; float:left; top:20px; width:700px; height:auto; overflow:auto; } #lateral { position:relative; left:30px; top:20px; width:250px; height:auto; background:#FFF; overflow:auto; } #lat_tit { position:relative; width:100%; height:auto; background:#FFF; overflow:auto; background:#336699; color:#FFFFFF; } h3 { position:relative; margin:0; font-size:14px; } #articulo { float:left; position:relative; left:3%; width:97%; background:#FFF; overflow:auto; height:auto; } h2 { position:relative; margin:0; top:10px; text-align:center; font-size:20px; height:25px; width:100%; } #num_comentarios { position:relative; top:30px; left:30px; font-size:18px; height:auto; width:200px; color:#FFF; } #comentarios { position:relative; float:left; left:30px; top:30px; height:auto; width:670px; overflow:auto; } .comentario { position:relative; float:left; width:100%; background:#FFF; height:auto; overflow:auto; } .espacio { position:relative; float:left; height:40px; width:100px; top:15px; font-size:18px; color:#FFFFFF; text-align:justify; } #dej_com { position:relative; float:left; top:30px; width:670px; left:30px; height:300px; color:#FFFFFF; }
El problema es->
Cuando la barra del lado derecho crece va bajando los comentarios
Me ayudan?¿