cuando creamos las secciones 1-4 todo estaba bien equal como en el ejemplo del curso, ahora cuando hemos puesto el float:left y las medidas pues ahora tengo una barra gris (navegacion) y abajo de esta una blanca donde esta el menu horizental y por debajo de esta pues por un lado esta la amarilla del otro menu y mas a la derecha pues la najanja del contenido.
in:0px ; padding:0px ; border:0px}
body {text-align: center}
#global {width:800px ; margin: 4px auto }
#curva-superior {background-image: url(objetos/curva-superior.gif) ; background-repeat: no-repeat ; width:800px ; height: 12px ; overflow: hidden }
#cabecera {background-color: white ; border-left: black 1px solid ; border-right: black 1px solid ; height: 85px}
#logotipo {width: 280px ; float:left}
#publicidad {width: 518px ; float:right ; margin-top: 25px}
#navegacion {background-color: gray ; border: black 1px solid ; heigth: 20px}
#navegacion li {float: left}
#contenido {background-color: orange ; width: 800px ; text-align: left ; border-left: black 1px solid ; border-right: black 1px solid}
#contenido p {padding: 5px 10px 5px 10px ; text-indent: 15px }
#menu {background-color: yellow; width: 150px ; float:left ; text-align:left ; margin: 3px 10px 3px 3px}
#menu li { list-style:none ; margin: 4px 0px 4px 6px }
#pie {background-color: white ; border-left: black 1px solid ; border-right: black 1px solid ; border-top: black 1px solid}
#curva-inferior {background-image: url(objetos/curva-inferior.gif) ; background-repeat: no repeat ; width:800px ; height: 12px ; overflow: hidden}
a {color: brown ; text-decoration: none ; display: block}
a:link {}
a:visited {}
a:hover {color:red ; text-decoration:underline ; background-color: silver}
a:active {}
p {text-align: justify}
h1 {font-size: 1.2em; color:blue ; font-weight: bold ; text-decoration: underline ; text-align: center}
h2 {font.size: 1.1em; color:blue ; font-weight: bold ; text-decoration: none ; text-align: center}



Citar


Marcadores