Div (position:relative) в Ie6 неправильно показывает

  • Автор темы Автор темы itwork
  • Дата начала Дата начала
I

itwork

Код:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
</head>
<body>
<div style="border: 1px solid rgb(0, 0, 0); width: 400px; height: 400px;">
<div style="position: relative; width: 0px; height: 0px;"><div style="background-color: orange;width: 100px; height: 150px"></div></div>
<div style="position: relative; width: 0px; height: 0px; left: 110px; top: 0px;"><div style="background-color: blue;width: 100px; height: 100px"></div></div>

<div style="position: relative; width: 0px; height: 0px; left: 110px; top: 104px;"><div style="background-color: green;width: 100px; height: 50px"></div></div>
<div style="position: relative; width: 0px; height: 0px; left: 236px;"><div style="background-color: yellow;width: 100px; height: 200px"></div></div>
</div>
</body>
</html>

Никак нимогу понять почему в Ie6 дивы распалогает не так как в ie8 или в mozilla или в chrome, может нихватает какого-то свойства?
 
Плиз помогите кто знает ;)
 
Мы в соцсетях:

Взломай свой первый сервер и прокачай скилл — Начни игру на HackerLab

🚀 Первый раз на Codeby?
Гайд для новичков: что делать в первые 15 минут, ключевые разделы, правила
Начать здесь →
🔴 Свежие CVE, 0-day и инциденты
То, о чём ChatGPT ещё не знает — обсуждаем в реальном времени
Threat Intel →
💼 Вакансии и заказы в ИБ
Pentest, SOC, DevSecOps, bug bounty — работа и проекты от проверенных компаний
Карьера в ИБ →

HackerLab