Изместване на елемент в див под IE6

ystefanov

Registered
Имам следния проблем. Във един див слагам картинка за background, на дива му посочвам размери колкото на картинката и въпреки това под ИЕ6 ми оставя някакаво разстояние под картинката. От къде идва това изместване, под Мозила всичко си е наред. Ето и кода:

Код:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>new site</title>
<style type="text/css">
	.conttop {
	height: 12px;
	width: 934px;
	background-repeat: no-repeat;
	border: 1px solid red;
	background-image: url(http://web-tourist.net/project/ystefanov/conttop.gif); 
	</style>
</head>

<body>
<div class="conttop"></div>
</body>
</html>
 
.conttop {
font-size:0px;
height: 12px;
width: 934px;
background-repeat: no-repeat;
border: 1px solid red;
background-image: url(http://web-tourist.net/project/ystefanov/conttop.gif);

Ей тай се оправя :)
 

Back
Горе