HTML:
Código HTML :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>JAVIER NOGUEIRAS</title> <meta name="description"content="desarrollador fotógrafo, realizador para web" /> <meta name="keywords"content="fotografía, video, desarrolo web, fotografía de producto, vídeo de producto" /> <meta name="author" content="Javier Nogueiras" /> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1" /> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> <div id="header"> <div id="nav"> <ul> <li><a href="index.html">Inicio</li> <li><a href="dessarrollo.html">Desarrollo</li> <li><a href="realizacion.html">Realización</li> </ul> </div> <div id="wrapper">wrapper <div id="main"><img src="portal javier nogueiras/blancoynegro.jpg" /></div> <div id="footer">© 2014 Todos los derechos reservados</div> </div> </body> </html>
Y ESTE ES EL CSS:
Código CSS :
#header{
border: 1px solid black;
width: 100%;
heigth: 120px;
background: #202020;
}
#wrapper{
border: 1px solid black;
width: 700px;
heigth:auto;
margin: 0px auto;
}
#main{
border: 1px solid black;
height: 300px
}
#footer{
height: 40px
border: 1px solid black;
font-size: 14px;
text-align: center;
}
#wrapper #main img{
width:700px;
height: 300px
} 