Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [HTML][PHP]HTML Tabela
dawix111
post 24.10.2010, 10:15:45
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 24.10.2010

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


witam, prosze o poprawienie mojego kodu html tabeli....
chodzi mi o 2 wiersz, zeby kolumny w niej byly rowne, bo teraz jak zmieniam wymiary to zmienia sie rowniez kolumna w 3 wierszu


tabela:

[....................] 1 kolumna
[.........][........] 2 rowne kolumny
[...][obraz][...] 3 kolumny , 1 i 3 rowna, 2 wieksza( znajduje sie w niej obrazek)



Kod
<TABLE WIDTH="500" CELLSPACING="1" CELLPADDING="1" BORDER="4" bordercolor="red">
<TD COLSPAN="4" height="60" ALIGN="center" VALIGN="middle">Polaczone kolumny</TD>
</TR>
<TR>
<TD height="50" colspan="2" ALIGN="center">1</TD>
<TD colspan="2" ALIGN="center">2</TD>
</tr>
<tr>
<TD width="120" height="70" ALIGN="center">1</TD>
<TD WIDTH="250" ALIGN="center" VALIGN="middle" background="http://maja-obrazy.pl/upload/m_10307_NIR-1013.jpg"></td>
<TD width="120" ALIGN="center" VALIGN="middle">3</TD>

</TR>
</TABLE>


prosze o podanie prawidlowego kodu smile.gif z gory dzie
Go to the top of the page
+Quote Post
modern-web
post 24.10.2010, 12:52:33
Post #2





Grupa: Zarejestrowani
Postów: 763
Pomógł: 117
Dołączył: 15.03.2010
Skąd: void

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


Podzielenie tego na 3 tabele będzie rozsądniejszym rozwiązaniem smile.gif
Zwiększają się wtedy możliwości każdej z tabel, ponieważ są one od siebie niezależne.

Pozdrawiam.

  1. <table width="500" cellspacing=="0" cellpadding="0" border="0" bordercolor="red">
  2. <td width="0%" height="50" align="center"></td>
  3. <td width="100%" height="50" align="center">1</td>
  4. <td width="0%" height="50" align="center"></td>
  5. </tr>
  6. <table width="500" cellspacing=="0" cellpadding="0" border="0" bordercolor="red">
  7. <tr>
  8. <td width="50%" height="50" align="center">1</td>
  9. <td width="0%" height="50"></td>
  10. <td width="50%" height="50" align="center">2</td>
  11. </tr>
  12. <table width="500" cellspacing=="0" cellpadding="0" border="0" bordercolor="red">
  13. <tr>
  14. <td width="25%" height="70" align="center">1</td>
  15. <td width="50%" height="70" align="center" background="http://maja-obrazy.pl/upload/m_10307_NIR-1013.jpg"></td>
  16. <td width="25%" height="70" align="center">3</td>
  17. </tr>


Ten post edytował modern-web 24.10.2010, 12:53:46


--------------------
Pomogłem? Kliknij `Pomógł`. To nic nie kosztuje, a mnie usatysfakcjonuje! ;)
Go to the top of the page
+Quote Post

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: 19.07.2025 - 03:10