Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Boa noite pessoal.
Eu conclui um projeto para uma empresa de formação de condutores, o site está pronto. Porém quando fui testar ele nos navegadores, deu pau no IE6 e IE7. Fica todo desconfigurado. Usei o software IEtester.
Fiz o site testando em Firefoz,Chrome e IE8. Nesses funcionaram perfeitamente.
Se ajudar, vai meu arquivo css inteiro.
{margin:0; padding:0;}
body{
background-attachment:fixed;
margin-top:2px;
margin-bottom:2px;
background-image:url(imagens/bg.png);
}
#fundo{
width:800px;
height:800px;
margin-left:auto;
margin-right:auto;
}
#titulo{
position:relative;
width:800px;
height:150px;
background-image:url(imagens/topo.jpg);
float:left;
}
#menuh{
position:relative;
width:620px;
height:30px;
text-align:center;
background:#f5f5f5;
float:left;
}
#menuh a:link, #menuh a:visited{
width:130px;
height:30px;
font-size:15px;
font-family:verdana, geneva, sans-serif;
font-weight:bold;
text-align:center;
color:#000;
text-decoration:none;
padding:5px;
display:inline;
float:left;
}
#menuh a:hover{
width:130px;
height:30px;
font-size:15px;
font-family:verdana, geneva, sans-serif;
font-weight:bold;
text-align:center;
color:#473C8B;
text-decoration:none;
padding:5px;
display:inline;
float:left;
}
#centro{
position:relative;
width:620px;
height:600px;
font-size:15px;
color:#000;
text-align:center;
background:#d3d3d3;
float:left;
}
#tempo{margin-top:450px;}
#menuv{
position:relative;
width:180px;
height:600px;
text-align:center;
background-image:url(imagens/menuv.jpg);
padding-top:30px;
float:left;
}
#menuv a:link{
width:180px;
height:20px;
font-size:12px;
font-family:verdana, geneva, sans-serif;
text-align:left;
font-weight:bold;
color:#000;
text-decoration:none;
padding-top:10px;
padding-left:10px;
display:block;
float:left;
}
#menuv a:visited{
width:180px;
height:20px;
font-size:12px;
font-family:verdana, geneva, sans-serif;
text-align:left;
font-weight:bold;
color:#000;
text-decoration:none;
padding-top:10px;
padding-left:10px;
display:block;
float:left;
}
#menuv a:hover{
width:180px;
height:20px;
font-size:12px;
font-family:verdana, geneva, sans-serif;
text-align:left;
color:#000;
font-weight:bold;
text-decoration:none;
padding-top:10px;
padding-left:10px;
background-color:#f5f5f5;
display:block;
float:left;
}
#rodape{
position:relative;
width:800px;
height:35px;
background-image:url(imagens/roda.jpg);
color:#000;
font-size:11px;
font-weight:bold;
text-align:center;
float:left;
}
.direct{
position:absolute;
width:100px;
height:15px;
border:none;
top:786px;
left:900px;
background-image:url(imagens/direct_design.jpg);
}
#data{
position:absolute;
color:#BEBEBE;
width:200px;
height:15px;
font-family:verdana, geneva, sans-serif;
font-size:12px;
font-weight:bold;
margin-top:70px;
margin-left:800px;
z-index:1;
}
E o 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">](http://www.w3.org/1999/xhtml)
<head>
<title>CFC Fórmula Show</title>
<link rel="stylesheet" href="cfc.css" type="text/css" />
<link rel="stylesheet" href="includes/lytebox.css" type="text/css" media="screen" />
<script type="text/javascript" language="javascript" src="includes/lytebox.js"></script>
<div id="data"><script type="text/javascript">
data = new Date();
dia = data.getDate();
mes = data.getMonth();
ano = data.getFullYear();
meses = new Array(12);
meses[0] = "Janeiro";
meses[1] = "Fevereiro";
meses[2] = "Março";
meses[3] = "Abril";
meses[4] = "Maio";
meses[5] = "Junho";
meses[6] = "Julho";
meses[7] = "Agosto";
meses[8] = "Setembro";
meses[9] = "Outubro";
meses[10] = "Novembro";
meses[11] = "Dezembro";
document.write (+ dia + " de " + meses[mes] + " de " + ano);
</script></div>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<div id="fundo">
<div id="titulo"></div>
<div id="menuv">
<a href="estrutura.html" >Estrutura</a>
<a href="cursos.html" target="janela">Nossos Cursos</a>
<a href="conveniadas.html" target="janela">Conveniadas</a>
<a href="instrutores.html" target="janela">Instrutores</a>
<a href="avaliacao.html" rel="lyteframe" title="contato" rev="width: 500px; height: 350px; scrolling: auto;"> Avalie nossos serviços</a>
<a href="localizacao.html" target="janela">Localização</a>
<div id="tempo"><iframe src="[http://tempoagora.uol.com.br/selos/custom/selo_3dias.php?cid=Piracicaba-SP,&height=130&cor=3f5678"](http://tempoagora.uol.com.br/selos/custom/selo_3dias.php?cid=Piracicaba-SP,&height=130&cor=3f5678) name="tempoagora_custom_3dias" width="125" marginwidth="0" height="130" marginheight="0" scrolling="No" frameborder="0" id="tempoagora_custom_3dias"></iframe></div>
</div>
<div id="menuh">
<a href="home.html" target="janela">Home</a>
<a href="empresa.html" target="janela">A Empresa</a>
<a href="contato.html" rel="lyteframe" title="contato" rev="width: 500px; height: 250px; scrolling: auto;" >Contato</a>
</div>
<div id="centro"><iframe src="home.html" width="620" height="600" frameborder="0" scrolling="auto" name="janela"></iframe></div>
<div id="rodape"></div>
<a href="[http://www.directdesign.com.br"](http://www.directdesign.com.br) target="_blank"><img src="imagens/direct_design.jpg" class="direct"/></a>
</div>
</body>
</html>
Obrigado pessoal.
Abraços à todos.
Carregando comentários...