Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML]Obrazek obok obrazka
VeParadox
post 29.08.2012, 13:32:46
Post #1





Grupa: Zarejestrowani
Postów: 154
Pomógł: 0
Dołączył: 29.08.2012

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


Witam ponownie.
Mój kod działa poprawnie, problemem jest to że obrazki wyświetlają się jeden pod drugim , a chciałbym żeby były obok. Oto kod:
Kod
<div id="position: relative">
<img src="obrazek1.png" onmouseover="document.getElementById('dymek').style.display = ''" onmouseout="document.getElementById('dymek').style.display = 'none'">
  <div id="dymek" style="position: absolute; top: 50px; left: 50%; display: none"><img src="obrazek2.png"></div>
<div id="position: relative">
<img src="obrazek3.png" onmouseover="document.getElementById('dymek1').style.display = ''" onmouseout="document.getElementById('dymek1').style.display = 'none'">
  <div id="dymek1" style="position: absolute; top: 50px; left: 50%; display: none"><img src="obrazek4.png"></div>

Bardzo proszę o pomoc.
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Wersja Lo-Fi Aktualny czas: 30.06.2025 - 00:47