Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
No Firefox não tem nenhum problema, mas no IE é acrescentado 3px abaixo da primeira camada...
Coloquei o excedente em vermelho para diferenciar...
<!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>EXEMPLO</title>
<style>
#camada_1 {
background:#F00;
width:600px;
height:100px;
}
#camada_2 {
background:#666;
width:600px;
height:300px;
}
</style>
</head>
<body>
<div id="camada_1">
<img src="topo.jpg" width="600" height="100" border="0" />
</div>
<div id="camada_2"></div>
</body>
</html>Carregando comentários...