Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
E aí tudo bem?
Eu estou tendo problema com o internet explorer 7 a propriedade margin que eu coloquei na minha #div tudo pra dar uma distância entre topo e o radapé da borda eu acho que isso não sei explicar direito: margin:1em auto; / 1em = 10px / nos outros navageadores que eu testei estar funcionando(firefox,opera, google chrome) só não no IE7, que só funciona no topo, mas no rodapé ele fica colado. Espero que vocês possam ter entendido a minha dúvida.
Segue o código, espero que vocês possam me ajudar desde de já eu agradeço pela atenção.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<title>Exemplo Page</title>
<style type="text/css">
.{
margin: 0;
adding: 0;
background-image: none;margin:0;
padding:0;
background:#ccc;
background-color:#CCCCCC;#tudo {
background-color: #FFFFFF;
width: 760px;#conteudo {
padding: 5px;
background-color: #FFFFFF;
font: 12px "Verdana", Helvetica, sans-serif;
color:#000000;
text-align:center;
}
#topo {width:100%;
text-align:center;
color:#FFFFFF;
}
#rodape {text-align:center;
color:#FFFFFF;
font: 14px "Verdana", Helvetica, sans-serif;#imagem_index {
position:relative;
width:550px;
height:300px;
z-index:3;
left: 30px;
top: 60px;
text-align:center;
background-image:url(imgs/tunados.jpg);
}
#texto_index {
position:relative;
width:589px;
height:70px;
z-index:1;
margin-left:30px;
margin-top: 20px;
text-align:center;
color:#666666;
font: 14px "Verdana", Helvetica, sans-serif;
}
</style>
</head>
<body>
<div id="tudo">
<div id="topo">
TOPO
</div><!--fim div topo-->
<div id="conteudo">
<div id="imagem_index"> </div>
<p> </p>
<p> </p>
<div id="texto_index">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
<p> </p>
<p> </p>
</div><!--fim div conteúdo-->
<div id="rodape">Rodapé</div><!--fim div rodapé-->
</div><!--fim div tudo-->
</body>
</html>Carregando comentários...