Olá pessoal!
Estou com um sério problema no footer do meu layout.
Já fiz inúmeros testes para tentar resolver e não obtive sucesso!
O Background do Footer não aparece 100%.
A única imagem que aparece no Footer é a principal, que fica centralizada e finaliza a linha (que repete verticalmente) no layout.
Gostaria de saber como faço para manter essa imagem centralizada no Footer (finalizando a linha), mas com o background atrás, ocupando 100% da página.
Da mesma forma que o Header.
Link do meu blog: http://ajornaleira.awardspace.us/wordpress/
Espero ter explicado meu problema de uma forma clara! ^^
Vou colocar aqui o código CSS e o código da página footer.php, talvez fique mais fácil de encontrar o erro.
Agradeço desde já a atenção de todos e espero encontrar uma solução para o meu problema! =/
Obrigada! ^^
Código CSS:
/* BODY */
body {font-size: 11px;
color: #909090;
font-family: arial, helvetica, sans-serif;
background-image: url('images/topo_bg_w3.jpg');
background-repeat: repeat-x;
width: 100%;
min-width:970px;
text-align: justify;
margin:0px;
padding: 0px;
background-color:#f7f7f7;
}
/* IMAGEM DO TOPO */
#header {
background: url('images/testelaytopo.jpg') no-repeat;
width: 789px;
height: 230px;
}
/* LINHA DO LAYOUT */
#page {
width: 789px;
background-image: url('images/linha.jpg');
background-repeat: repeat-y;
background-position:center;
margin-left: auto;
margin-right: auto;
}
/* FOOTER */
#footer {
background-color: #f7f7f7;
background-image: url('images/footer_bg2.jpg');
background-repeat: repeat-x;
text-align: center;
clear: both;
margin:0px;
height: 91px;
width: 100%;
}
#footer p {
color: #f7f7f7;
text-align: center;
background-image: url('images/footer_certo.jpg');
background-repeat: no-repeat;
height:91px;
margin:0px;
border:0px;
padding:0px;
font-size: 10px;
font-family: tahoma;
padding:0px 0 2px 0;
margin:0 0px 0 0px;
}
#footer p a{
font-weight: bold;
color: #c0c0c0;
}
#footer p a:hover{
color: #fff;
}
.blogname {
color:#fdc7d9;
font-family : georgia, helvetica, sans-serif;
font-size: 25px;
font-weight: bold;
text-indent: 3px;
text-align: center;
text-transform: capitalize;
margin: 15px 0 30px 0;
padding: 0 0 2px 0;
}
/* PERFIL */
#sidebar {
width: 214px;
color: #8c8c8c;
font-family: arial;
font-size: 10px;
text-align: justify;
margin: -40px 0 0 0;
padding: 0 15px 0 25px;
float: left;}
/* POSTS E PÁGINAS */
#content {
color:#909090;
line-height:15px;
text-align:justify;
width: 463px;
padding: 10px 0px 0 44px;
float: left;
}
#content span.data, #content span.categoria{
display: block;
color: #c0c0c0;
font-size:10px;
text-align: left;
font-family : verdana, helvetica, sans-serif;
text-transform: capitalize;
padding: 0 0 0 2px;
}
/* PREV E NEXT */
.anterior{
float:left;
background-color: #f8f8f8;
padding:1px 5px 1px 5px;
margin:0px 1px 0px 1px;
}
.proximo{
float:right;
background-color: #f8f8f8;
padding:1px 5px 1px 5px;
margin:0px 1px 0px 1px;
}
/* MENU */
#menu {
width: 100%;
padding: 0;
margin: 0;
font-size: 10px;
font-family : Verdana, Arial, sans-serif;
}
#menu ul {
list-style: none;
margin: 0;
padding: 0;
}
#menu li {
border-bottom: 1px solid #fdbad6;
margin: 1px;
}
#menu li a {
display: block;
padding: 4px 4px 4px 0.4em;
text-transform: uppercase;
text-indent: 5px;
letter-spacing: 2px;
color: #fdbad6;
background-color: #FFF1F9;
text-decoration: none;
border-left: 5px solid #FFDAE6;
}
#menu li a:hover {
color: #c0c0c0;
background-color: #F8F8F8;
border-left: 5px solid #cccccc;
}
/* Fix IE. Hide from IE Mac \*/
* html ul#menu li { float: left; height: 1%; }
* html ul#menu li a { height: 1%; }
/* End */
/* LINKS */
a {cursor: help; text-decoration: none;}
a:link {cursor: help; color: #fdbad6; text-decoration: none; }
a:visited {cursor: help; color: #fdbad6;text-decoration: none; }
a:active {cursor: help; color: #fdbad6;text-decoration: none; }
a:hover {cursor: help; color: #c0c0c0; text-decoration: none; }
/* NEGRITO E IT�LICO */
b{color: #FFC5D9; cursor: crosshair;}
i{color: #FFC5D9; cursor: crosshair;}
strong{color: #c0c0c0; cursor: crosshair;}
/* TEXTAREA, INPUTS E FORMULÁRIOS */
input, textarea, select, button {
font-size:11px;
color:#999999;
background: #fde9f1;
border: 0px;}
input:focus, textarea:focus, label:focus, select:focus, button:focus {
color:#999999;
background: #F8F8F8;
border: 0px;}
input#searchsubmit {
background: #f8f8f8 url('images/search.gif') left no-repeat;
background-position:2px 3px;
border: 1px solid #e1e1e1;
width: 89%;
margin: 5px 0 0 0;
padding: 1px 1px 1px 15px;
}
/* COMENTÁRIOS */
.comments{
text-align:justify;
background-color: #f8f8f8 ;
padding: 5px ;
border: 1px solid #e1e1e1;
margin: 0 0 15px 0;
}
.avatar {
float: right;
padding: 5px;
margin:4px;
background-color: #e1e1e1;
}
/* BORDA NAS IMAGENS */
.aligncenter{
background-color: #e1e1e1;
padding: 6px;
display: block;
text-align: center;
margin-left: auto;
margin-right: auto;
}
.alignleft{
float: left;
background-color: #e1e1e1;
padding: 6px;
margin: 1px 4px 0 0;
}
.alignright{
float: right;
background-color: #e1e1e1;
padding: 6px;
margin: 1px 0 0 4px;
}
.center {
text-align: center;
display: block;
margin-left: auto;
margin-right: auto;
}
.left {
float: left;
margin: 1px 4px 0 0;
}
.right {
float: right;
margin: 1px 0 0 4px;
}
img {border: 0px;}
/* TÍTULO DO PERFIL */
h1 {
font-weight: bold;
background-color: #FFDAE6;
color:#ffffff;
line-height: 16px;
text-decoration: none;
font-family: tahoma;
font-size: 10px;
text-indent: 5px;
text-align: left;
margin: 15px 0 7px 0;
}
/* SUBTITULOS */
h2 {
font-size:10px;
font-family: tahoma;
color: #c2beba;
border-bottom:1px dashed #e9e4de;
padding-right: 2px;
text-transform: uppercase;
text-indent: 5px;
font-weight: bold;
}
/* EDITAR POSTS */
blockquote {
background-color:#fafafa;
border-top: 1px solid #f3f4f4;
border-bottom: 1px solid #f3f4f4;
padding: 5px 5px 5px 5px;
font-size: 11px;
text-align: justify;
margin-left: 5px;
margin-right: 5px;
margin-top: 10px;
margin-bottom: 10px;}
/* TÍTULO DE PÁGINAS E POSTS */
.navlink {
display: block;
color: #9f9f9f;
font-family : arial, sans-serif, tahoma;
font-size:17px;
text-decoration: none;
text-align:left;
text-transform: capitalize;
height: 18px;
line-height:18px;
vertical-align:middle;
padding: 0 0 0 2px;
margin: 0px;
border-bottom: 1px dotted #e1e1e1;
}
.navlink a {cursor: help; color: #9f9f9f; text-decoration: none; }
.navlink a:hover {color:#c0c0c0; text-decoration:none;}
/* CALENDARIO */
#wp-calendar {
width: 99%;
border-spacing:1px;
padding-bottom: 3px;
background: transparent;
}
#wp-calendar td a {
letter-spacing:0px;
color: #FFC5D9;
font-weight: bold;
}
#wp-calendar td a:hover {
color: #c0c0c0;
background: none;
}
#wp-calendar td {
text-align:center;
background-color: #fde9f1;
padding: 0px 5px 0px 5px;
letter-spacing: 0px;
font: normal 10px Arial;
color: #aaa;
}
#wp-calendar td.pad { /* Celulas vazias */ background: #f8f8f8; }
#wp-calendar td#today { /* Data Atual */ background: white; }
#wp-calendar thead { /* Dias da semana */ font: bold 10px Arial; background: #FDF8FA;}
#wp-calendar caption { /* Mês */background: #f8f8f8;padding: 0px 0 0px;font: bold 11px Arial;color: #c0c0c0;}
/* LINKS DO FOOTER */
#footlink {
text-align:center;
clear: both;
line-height:18px;
}
#footlink a {padding:0 4px 0 4px; margin:0 1px 0 1px;}
#footlink a:link, #footlink a:visited, #footlink a:active {
color:#9f9f9f;
font-size : 8pt;
background-color: #f8f8f8;
border: 0px;
}
#footlink a:hover {
color:#9f9f9f;
font-size : 8pt;
background-color: #e1e1e1;
border: 0px;
}
/* HR */
hr {
width: 97%;
clear: both;
border-top: 1px dotted #e1e1e1;
border-bottom: 0px;
border-left: 0px;
border-right: 0px;
text-align:center;
margin:5px 0 5px 0;
height: 1px;
}
Código footer.php
</div>
<div id="footer">
<div id="footer p">
</div>
<p>Tema Base por Tamara <a href="http://www.true-luv.com">♥ true-luv.com</a> e editado por Tamirys | Powered by <a href="http://www.wordpress.org">Wordpress <?php bloginfo('version'); ?></a><br />
<?php bloginfo('name'); ?> Copyright <?php the_time('Y');?> - Todos os direitos reservados |
<a title="Css Válido" href="http://jigsaw.w3.org/css-validator/check/referer">CSS 2.1</a> # <a title="XHTML 1.0 Válido" href="http://validator.w3.org/check?uri=referer">XHTML 1.0 Strict</a></p></div>
</div>
<?php wp_footer(); ?>
</body>
</html>