Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> CSS position: relative IE, problem z ustawieniem obrazkow i tekstu w odpowiedniej pozycji
diunida
post
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 23.03.2012

Ostrzeżenie: (0%)
-----


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?
Go to the top of the page
+Quote Post
prowseed
post
Post #2





Grupa: Zarejestrowani
Postów: 433
Pomógł: 64
Dołączył: 29.01.2011
Skąd: Warszawa

Ostrzeżenie: (0%)
-----


nie rozumiem do konca co chcesz zrobic... Chcesz ukryc te teksty/grafiki? Co chcesz osiagnac poprzez width i height ustawione na 0px?

Ten post edytował prowseed 23.03.2012, 20:27:50
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.08.2025 - 17:02