26/07/2012, 02:14
|
| | Fecha de Ingreso: noviembre-2011 Ubicación: Lleida
Mensajes: 5
Antigüedad: 13 años Puntos: 0 | |
Respuesta: Problema, espacio blanco después del footer Gracias TEPO, he intentado cerrar el body en el html pero no funciona.. porque seguro que hay que tocar algo en el css y nose el que :s
Te dejo aquí el código css y si tienes un momentito me lo miras porque nose que puede ser... pero he entendido lo que me querías decir de cerrar la cabezera, el contenido y el pie. Y lo hago, pero no funciona. Sigo con el mismo problema :s
Código:
body{
margin:0;
padding:0;
font-size:14px;
font-family:Arial, Helvetica, sans-serif;
color:#333333;
background-image:url(../images/fondito.jpg);
font-weight: normal;
font-style: normal;
line-height: 20px;
}
img{border:0; padding:0; margin:0;}
.justify{text-align:justify;}
.bold{font-weight:bold;}
.center{text-align:center;}
.right{text-align:right;}
.nostart {list-style-type:none; margin:0; padding:0;}
.clear{clear:both;}
br.clear{clear:both; margin-top:-15px;}
a{outline:none; text-decoration:none;}
.fl_left{float:left;}
.fl_right{float:right;}
.imgl, .imgr{border:1px solid #FFFFFF; padding:5px; color:#FFFFFF; background-color:#FFFFFF;}
.imgl{float:left; margin:0 8px 8px 0; clear:left;}
.imgr{float:right; margin:0 0 8px 8px; clear:right;}
/* ----------------------------------------------Wrapper-------------------------------------*/
div.wrapper{
display:block;
width:100%;
margin:0;
text-align:left;
}
.col1{color:#F7F7F7; background-color:#F7F7F7;}
/* --Opciones de Galería --*/
.col2{color:#F7F7F7; background-color:#F7F7F7;}
.col2 a{color:#294E79; background-color:#F7F7F7;}
/* --Opciones de Contenido -- */
.col3, .col4{color:#666666; background-image:url(../images/fondito.jpg)}
.col5{color:#FFFFFF; background-color:#1C3451;}
/* ----------------------------------------------Generalise-------------------------------------*/
#head, #gallery, #breadcrumb, #container, #footer{
position:relative;
margin:0 auto 0;
display:block;
width:992px;
}
/* ----------------------------------------------Head-------------------------------------*/
#head{
height:110px;
z-index:1000;
background-image:url(../images/fondocabezera.jpg)
}
#head h1, #head p, #head ul, #head a{
margin:0;
padding:0;
list-style:none;
line-height:normal;
}
#head h1 a{
position:absolute;
top:21px;
left:2px;
font-size:38px;
font-weight:normal;
color:#F7F7F7;
background-color:#294E78;
font-family:Georgia, "Times New Roman", Times, serif;
}
#head p{
display:block;
position:absolute;
top:36px;
left:4px;
color:#00FFFF;
font-size:16px;
font-family:"Century Gothic", Calibri;
width: 299px;
height: 25px;
font-style: normal;
font-weight: bold;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
border-top-width: thin;
border-right-width: thin;
border-bottom-width: thin;
border-left-width: thin;
}
/* ----------------------------------------------Breadcrumb Navigation-------------------------------------*/
#breadcrumb{padding:20px 0;}
#breadcrumb a{
font-weight:bold;
}
#breadcrumb ul{
margin:0;
padding:0;
list-style:none;
}
#breadcrumb ul li{display:inline;}
#breadcrumb ul li.first{font-weight:bold;}
#breadcrumb ul li.current a{text-decoration:underline;}
/* ----------------------------------------------Container-------------------------------------*/
#container{
padding:40px 0;
}
#container h1, #container h2, #container h3, #container h4, #container h5, #container h6{
margin:0 0 15px 0;
padding:0 0 15px 0;
line-height:normal;
font-weight:bold;
font-size:24px;
font-family:"Century Gothic", Calibri;
border-bottom:1px dashed #666666;
font-style: italic;
text-decoration: underline;
color: #000000;
}
#container a{
color:#294E79;
background-color:#F7F7F7;
}
/* ----------------------------------------------Content-------------------------------------*/
#content{
display:block;
float:left;
width:630px;
}
/* ------Comments-----*/
#comments{margin-bottom:40px;}
#comments .commentlist {margin:0; padding:0;}
#comments .commentlist ul{margin:0; padding:0; list-style:none;}
#comments .commentlist li.comment_odd, #comments .commentlist li.comment_even{margin:0 0 10px 0; padding:15px; list-style:none;}
#comments .commentlist li.comment_odd{color:#666666; background-color:#F7F7F7;}
#comments .commentlist li.comment_odd a{color:#294E79; background-color:#F7F7F7;}
#comments .commentlist li.comment_even{color:#666666; background-color:#E8E8E8;}
#comments .commentlist li.comment_even a{color:#294E79; background-color:#E8E8E8;}
#comments .commentlist .author .name{font-weight:bold;}
#comments .commentlist .submitdate{font-size:smaller;}
#comments .commentlist p{margin:10px 5px 10px 0; padding:0; font-weight: normal;text-transform: none;}
#comments .commentlist li .avatar{float:right; border:1px solid #EEEEEE; margin:0 0 0 10px;}
/* ----------------------------------------------Right Block-------------------------------------*/
#column{
display:block;
float:right;
width:300px;
}
#column .holder, #column #featured{
display:block;
width:300px;
margin-bottom:40px;
}
#column .holder p{
line-height:1.6em;
}
#column .holder h2.title{
display:block;
width:100%;
height:65px;
margin:0;
padding:15px 0 8px 0;
font-size:20px;
font-weight:normal;
color:#666666;
background-color:#F7F7F7;
line-height:normal;
border-bottom:1px dashed #CCCCCC;
}
#column .holder h2.title img{
float:left;
margin:-15px 8px 0 0;
padding:5px;
color:#666666;
background-color:#F7F7F7;
border:1px solid #CCCCCC;
}
#column .holder p.readmore{
display:block;
width:100%;
font-weight:bold;
text-align:right;
line-height:normal;
}
#column div.imgholder{
display:block;
width:290px;
margin:0 0 10px 0;
padding:4px;
color:#666666;
background-color:#F7F7F7;
border:1px solid #CCCCCC;
}
/* Featured Block */
#column #featured a{
color:#294E79;
background-color:#F7F7F7;
}
#column #featured ul, #column #featured h2, #column #featured p{
margin:0;
padding:0;
list-style:none;
background-color:F7F7F7;
}
#column #featured li{
display:block;
width:250px;
margin:0;
padding:20px 25px;
color:#2E271D;
background-color:#F9F9F9;
}
#column #featured li p{
line-height:1.6em;
background-color:F7F7F7;
}
#column #featured li p.imgholder{
display:block;
width:240px;
height:90px;
margin:20px 0 15px 0;
padding:4px;
border:1px solid #CCCCCC;
}
#column #featured li h2{
margin:0;
padding:0 0 14px 0;
font-size:20px;
font-weight:normal;
font-family:Georgia, "Times New Roman", Times, serif;
color:#666666;
background-color:#F9F9F9;
line-height:normal;
border-bottom:1px dashed #666666;
}
#column #featured p.more{
display:block;
width:100%;
margin-top:15px;
font-weight:bold;
text-align:right;
line-height:normal;
background-color:#F7F7F7;
}
/* ----------------------------------------------Footer-------------------------------------*/
#footer{
padding:20px 0;
}
#footer a{
color:#98B7DC;
background-color:#1C3451;
}
#footer h2{
margin:0 0 15px 0;
padding:0 0 8px 0;
font-size:22px;
font-weight:normal;
font-family:Georgia, "Times New Roman", Times, serif;
color:#CCCCCC;
background-color:#1C3451;
line-height:normal;
border-bottom:1px dashed #CCCCCC;
}
#contactform{
display:block;
float:left;
width:350px;
}
/* ------Company Details------*/
#compdetails{
display:block;
float:right;
width:500px;
}
#compdetails ul{
margin:0;
padding:0;
list-style:none;
}
#compdetails li{
margin:0 0 12px 0;
}
#compdetails li.last{
margin:0;
}
#officialdetails{float:left}
#officialdetails li.last{margin-bottom:20px;}
#contactdetails{float:right}
/* ------Copyright------*/
#copyright{
display:block;
float:left;
width:100%;
margin:25px 0 0 0;
padding:20px 0 0 0;
font-size:12px;
border-top:1px dashed #666666;
}
#copyright p{
margin:0;
padding:0;
}
Muchas gracias |