CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Documento sem título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
body {
margin: 0;
padding: 0;
}
#d1 {
background: #333333;
width: 300px;
height: 200px;
}
ImgTeste {
border: 0;
width: 300px;
height: 200px;
}
</style>
</head>
<body>
<div id="d1">
<img src="teste.jpg" id="ImgTeste" />
</div>
</body>
</html>
<html>
<head>
<title>Documento sem título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
body {
margin: 0;
padding: 0;
}
#d1 {
background: #333333;
width: 300px;
height: 200px;
}
ImgTeste {
border: 0;
width: 300px;
height: 200px;
}
</style>
</head>
<body>
<div id="d1">
<img src="teste.jpg" id="ImgTeste" />
</div>
</body>
</html>
em um layout q estou montando me deparei com esse problema...
msm definindo os atributos da div na msm dimensão da imagem sempre sobre um espaço na parte inferior..
como resolver isso???
abraços!

Help














