Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: CSS position: relative IE
Forum PHP.pl > Forum > PHP
diunida
Witam, mam taki problem z ustawieniem na stronie kilku obrazkow, jeden duży i kilka małych z napisami, udało mi się osiągnąć to co chcę, ale niestety nie chdzi poprawnie pod IE, kod jest taki:

Kod
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<title>dane</title>
</head>
<body text="#003300" bgcolor="#ccffcc" link="#003300" lang="PL">
<img src="plan.png" alt="plan">
<div style="position: relative; width: 0px; height: 0px; left: 20px; bottom: 580px; background-color: silver"><img src="plan_ok.png" alt="..." /></div>
<div style="position: relative; width: 0px; height: 0px; left: 53px; bottom: 574px; color: #000000; background-color: silver">01.23</div>
<div style="position: relative; width: 0px; height: 0px; left: 753px; bottom: 580px; background-color: silver"><img src="plan_ok.png" alt="..." /></div>
<div style="position: relative; width: 0px; height: 0px; left: 695px; bottom: 574px; color: #000000; background-color: silver">02.43</div>
<div style="position: relative; width: 0px; height: 0px; left: 753px; bottom: 50px; background-color: silver"><img src="plan_ok.png" alt="..." /></div>
<div style="position: relative; width: 0px; height: 0px; left: 695px; bottom: 44px; color: #000000; background-color: silver">01.23</div>
<div style="position: relative; width: 0px; height: 0px; left: 20px; bottom: 50px; background-color: silver"><img src="plan_ok.png" alt="..." /></div>
<div style="position: relative; width: 0px; height: 0px; left: 53px; bottom: 44px; color: #000000; background-color: silver">03.43</div>
</body></html>


obrazek duży "plan.png" ma 400x600, "plan_ok.png" ma 30x30, a teksty będą 2-4 cyfrowe, położone obok małych obrazków, problem jest z width: 0px; height: 0px; IE to "olewa" w konsekwencji jak nawet ustawię obrazki, biorąc pod uwagę "ułomność" IE, to pojawia mi się pionowy pasek przewijania, chociaż na pozostałej części ekranu nic nie ma.

Jakieś pomysły?
prowseed
nie rozumiem do konca co chcesz zrobic... Chcesz ukryc te teksty/grafiki? Co chcesz osiagnac poprzez width i height ustawione na 0px?
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.