Código HTML:
Ver original
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <link title="estilogeneral" media="all" href="estilos/estilogeneral.css" rel="stylesheet" type="text/css" /> <script> function hora(){ meses = new Array("Enero","Febrero","Marzo","Abril","Mayo","Ju nio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"); data = new Date(); index = data.getMonth(); diasemana=new Array("Lunes","Martes","Miércoles","Jueves","Viern es","Sábado","Domingo"); indexday = data.getDay(); if (indexday == 0) indexday = 7; any = data.getYear(); if (any < 1900) any = 1900 + any; var fecha= new Date(); var horas= fecha.getHours(); var minutos = fecha.getMinutes(); var segundos = fecha.getSeconds(); if(horas < 10) { horas = '0' + horas; } if(minutos < 10) { minutos = '0' + minutos; } if(segundos < 10) { segundos = '0' + segundos; } document.getElementById('hora').innerHTML='Hoy es: '+data.getDate()+' de '+meses[index]+' de '+any+' '+horas+':'+minutos+':'+segundos+''; setTimeout('hora()',1000); } </script> <script language="javascript"> function cerrar(){ document.getElementById('apDiv1').style.visibility = "hidden"; } function muestra(){ document.getElementById('apDiv1').style.visibility = "visible"; } </script> <script language="javascript"> function ocultarimagen(){ document.getElementById('dktc').style.visibility = "collapse"; width = "0px"; height = "0px"; } function mostrarimagen(){ document.getElementById('dktc').style.visibility = "visible"; } </script> <body onload="leerEstilo(); hora()" style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" topmargin="0" leftmargin="0" alink="#000099" link="#000099" marginheight="0" marginwidth="0" vlink="#000099"> <div id="pagina"> <div id="botones"> <div class="text-shadow" id="el">Inicio Deportes Tutoriales Foro </div> <div id="contenido"> <div align="center" id="content"> </div> </div> </div>
Y este es el css:
Código CSS:
Ver original
hr { color: #ededed; font-size: 10px; width: 95%; } body { background-color: #ededed; background: -moz-linear-gradient(top, #65b6cf , #2c2c2c); background: -webkit-gradient(linear, 0 0, 0 100%, from(#65b6cf), to(#2c2c2c)); /* For Internet Explorer 5.5 - 7 */ background: filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ededed, endColorstr=#cbcbcb, color-stop(0.5, #fff), color-stop(0.5, #66cc00)); /* For Internet Explorer 8 */ background: -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ededed, endColorstr=#cbcbcb, color-stop(0.5, #fff), color-stop(0.5, #66cc00)); } .text-shadow { font-size: 2em; /* Firefox, WebKit, Opera 9+ */ text-shadow: 3px 3px 5px #999; } #codigo { margin-top: 15px; margin-bottom: 15px; text-align: left; width: 70%; height: 200px; overflow: auto; background-color: rgb(164, 164, 164); background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; color: rgb(255, 0, 144); -webkit-box-shadow: 1px 1px 10px rgb(0, 0, 0); box-shadow: 1px 1px 10px rgb(0, 0, 0); } #el { margin-left: auto; max-width: 1400px; margin-right: auto; min-width: 740px; } #hora { margin-left: auto; max-width: 1400px; margin-right: auto; width: auto; min-width: 740px; } #botones { align: center; padding-left: 70px; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; background: #000; /* For WebKit (Safari, Google Chrome etc) */ background: -webkit-gradient(linear, left top, left bottom, from(#5a5a5a), to(#202020)); /* For Mozilla/Gecko (Firefox etc) */ background: -moz-linear-gradient(top, #5a5a5a, #202020); /* For Internet Explorer 5.5 - 7 */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#5a5a5a, endColorstr=#202020); /* For Internet Explorer 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#5a5a5a, endColorstr=#202020)"; min-height: 100%; width: auto; font-size: 12px; height: 85px; color: rgb(255, 255, 255); box-shadow: 5px -9px 3px #333; -webkit-box-shadow: #666 0px 2px 3px; -moz-box-shadow: #666 0px 2px 3px; } #pagina { padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: auto; min-width: 1000px; margin-left: auto; margin-right: auto; } #redondo { width: 100px; height: 100px; margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 5px; background-color: rgb(255, 255, 51); border-top-width: 1px; border-top-style: solid; border-top-color: rgb(0, 0, 0); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(0, 0, 0); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 0); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(0, 0, 0); -webkit-border-radius: 50px 50px 50px 50px; border-radius: 50px 50px 50px 50px; } #contenido { margin-left: auto; max-width: 1400px; margin-top: 50px; margin-right: auto; width: 100%; min-width: 740px; } #izquierda { width: 10%; height: 500px; margin-bottom: 15px; background-color: transparent; float: left; } #derecha { margin-bottom: 15px; width: 10%; background-color: transparent; height: 500px; float: right; } #centro { margin-bottom: 15px; width: 20%; background-color: transparent; height: 500px; align: center; } #pie { align: center; margin-right: auto; margin-left: auto; border: 1px solid #000; -moz-border-radius:15px 15px 15px 15px; -ms-border-radius: 15px 15px 15px 15px; -webkit-border-radius: 15px 15px 15px 15px; border-radius: 15px 15px 15px 15px; background-color: #000; margin-bottom: 5px; padding-top: 15px; padding-bottom: 15px; width: 80%; clear: both; } #dktc { width: 348px; height: 304px; border-top-width: 6px; border-top-style: solid; border-top-color: rgb(0, 0, 0); border-right-width: 6px; border-right-style: solid; border-right-color: rgb(0, 0, 0); border-bottom-width: 6px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 0); border-left-width: 6px; border-left-style: solid; border-left-color: rgb(0, 0, 0); -webkit-border-radius: 15px 15px 15px 15px; border-radius: 15px 15px 15px 15px; } #apDiv1 { background-color: rgb(0, 102, 153); width: 80%; z-index: 0; position: relative; height: auto; visibility: hidden; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(0, 0, 0); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(0, 0, 0); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 0, 0); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(0, 0, 0); -webkit-border-radius: 15px 15px 15px 15px; border-radius: 15px 15px 15px 15px; } #content { align: center; margin-left: auto; max-width: 1400px; margin-top: 50px; margin-right: auto; min-width: 740px; -moz-box-shadow: 1px 1px 10px #000; -webkit-box-shadow: 1px 1px 5px #000; box-shadow: 1px 1px 10px #000; -ms-box-shadow: 1px 1px 10px #000; -moz-border-radius:10px 10px 10px 10px; -ms-border-radius: 10px 10px 10px 10px; -webkit-border-radius: 10px 10px 10px 10px; border-radius: 10px 10px 10px 10px; width: 80%; background-color: #fff; margin-bottom: 15px; } .categorias { padding-top: 12px; font-size: 20px; } a:link { color: #bdb9b9; text-decoration: none; } a:visited { color: #bdb9b9; text-decoration: none; } a:hover, a:active, a:focus { color:#bdb9b9; text-decoration:underline; }
Este es el resultado que obtengo:
El resultado que queria obtener era: Izquierda, Centro y Derecha todos a la misma altura. Cual es el problema??