Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML][PHP] Padding
Chelo
post
Post #1





Grupa: Zarejestrowani
Postów: 178
Pomógł: 8
Dołączył: 19.03.2007

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


Witam

  1. <td background="image/sss.jpg">asd</td>
  2. <td align="right" class="class5" onmouseover="this.style.background='red'; this.style.paddingLeft='600px';" onmouseout="this.style.backgroundColor=''; this.style.paddingLeft='';"><a href="#"><img src="2.jpg"></a></td>



Jak zmienić this.style.paddingLeft='600px'; aby działało na zasadzie tła, czyli nie będzie przesuwało tekstu obok??
Go to the top of the page
+Quote Post
mrc
post
Post #2





Grupa: Zarejestrowani
Postów: 160
Pomógł: 27
Dołączył: 22.09.2008
Skąd: Tarnów

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


Nie wiem czy dobrze zrozumiałem, chodzi Ci o to, by tekst był po lewej, a drugi td się rozszerzał?

  1. <tr>
  2. <td background="image/sss.jpg">asd</td>
  3. <td align="left" class="class5" onmouseover="this.style.background='red'; this.style.width='600px';" onmouseout="this.style.backgroundColor=''; this.style.paddingLeft='';"><a href="#"><img src="2.jpg"></a></td>
  4. </tr>
Go to the top of the page
+Quote Post
wookieb
post
Post #3





Grupa: Moderatorzy
Postów: 8 989
Pomógł: 1550
Dołączył: 8.08.2008
Skąd: Słupsk/Gdańsk




Zmienić backgroundPosition
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: 23.08.2025 - 04:04