Mucha razón y disculpad las molestias, de paso me podeis aconsejar para ir aprendiendo consejos para usar bien los atributos y armar correctamente la estructura.
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">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es-ES" lang="es-ES"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="style.css" media="screen" />
imagen de fondo, titulo del sitio y descripcion
</p><p>Adsense Horizontal
</p>
<!--fin header -->
<!--footer -->
CSS
Código CSS:
Ver original@charset "utf-8";
/* Reseteando */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
background: transparent;
border: 0;
margin: 0;
padding: 0;
vertical-align: baseline;
}
body {
line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
clear: both;
font-weight: normal;
}
ol, ul {
list-style: none;
}
blockquote {
quotes: none;
}
blockquote:before, blockquote:after {
content: '';
content: none;
}
del {
text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
a img {
border: none;
}
/* Fin reseteando */
#estructura {
width: 940px;
overflow:auto;
border: solid;
margin:auto;
padding:0 20px 20px 20px;
}
#header{
border:solid;
}
#fondo{
height:198px;
border-top:solid 6px #CC0000;
border-bottom:solid 1px;
background-image:url(images/fondo.jpg);
}
#menu{
height:40px;
border-top:solid 1px;
border-bottom:solid 1px;
}
#ads_header{
border:solid 1px;
}
#contenido{
width:660px;
border:solid;
float:left;
padding:20px;
}
#paginacion{
width:660px;
border:solid;
float:left;
padding:20px;
}
#lateral{
border:solid;
float:right;
width:180px;
padding:20px;
}
#footer{
border:solid #C00;
}