Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> problem z rowspan
mihipoznan
post 21.03.2008, 14:39:35
Post #1





Grupa: Zarejestrowani
Postów: 194
Pomógł: 0
Dołączył: 27.02.2008

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


Jak wstawić rowspan do tej tabeli żeby połączyć jej wiersze ale w pionie?

Kod
<form method="post" action="index1.php?url=7">
<td style=" width: 150px; text-align: left">Nazwa firmy:</td>
<td style=" width: 150px; text-align: left">
<?php echo ucwords($HTTP_SESSION_VARS['login']); $value= (isset($_POST['login'])) ? $_POST['login'] : ''; ?></td>
</tr>
<tr>
<td style=" width: 150px; text-align: left">Imie i nazwisko:      </td>
<td style=" width: 300px; text-align: left">
<?php echo ucwords($HTTP_SESSION_VARS['imie']); $value= (isset($_POST['imie'])) ? $_POST['imie'] : ''; ?>
</td>
</tr>
<tr>
<td style=" width: 150px; text-align: left">E-mail:      </td>
<td style=" width: 300px; text-align: left; rowspan="5">
<?php echo ucwords($HTTP_SESSION_VARS['email']); $value= (isset($_POST['email'])) ? $_POST['email'] : ''; ?> </td>
</tr>
<tr>
<td style=" width: 150px; text-align: left">Typ transakcji:      &bull;</td>
<td style=" width: 300px; text-align: left">
<INPUT TYPE="radio" NAME="typ" VALUE="1" CHECKED >Kupno &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
<INPUT TYPE="radio" NAME="typ" VALUE="0">Sprzedaż <img scr="obrazekprzechodzący przez 5 wierszy w pionie.jpg">
</td>

Tak zeby to wyglądało tak:
Kod
http://img386.imageshack.us/img386/1931/problemwk6.jpg


Pomocyy! Bo męczę się z tym i męczę..

Wszystkie wskazówki, obojętnie co byle by pomogło mile widziane smile.gif

Ten post edytował mihipoznan 21.03.2008, 14:47:48
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
l0ud
post 21.03.2008, 14:47:11
Post #2





Grupa: Zarejestrowani
Postów: 1 387
Pomógł: 273
Dołączył: 18.02.2008

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


Coś na ten wzór:

  1. <form method="post" action="index1.php?url=7">
  2. <tr>
  3. <td style=" width: 150px; text-align: left">Nazwa firmy:</td>
  4. <td style=" width: 150px; text-align: left">
  5. <?php echo ucwords($HTTP_SESSION_VARS['login']); $value= (isset($_POST['login'])) ? $_POST['login'] : ''; ?></td>
  6. <td rowspan="4"><img scr="obrazekprzechodzący przez 5 wierszy w pionie.jpg"></td>
  7. </tr>
  8. <tr>
  9. <td style=" width: 150px; text-align: left">Imie i nazwisko: </td>
  10. <td style=" width: 300px; text-align: left">
  11. <?php echo ucwords($HTTP_SESSION_VARS['imie']); $value= (isset($_POST['imie'])) ? $_POST['imie'] : ''; ?>
  12. </td>
  13. </tr>
  14. <tr>
  15. <td style=" width: 150px; text-align: left">E-mail: </td>
  16. <td style=" width: 300px; text-align: left;">
  17. <?php echo ucwords($HTTP_SESSION_VARS['email']); $value= (isset($_POST['email'])) ? $_POST['email'] : ''; ?> </td>
  18. </tr>
  19. <tr>
  20. <td style=" width: 150px; text-align: left">Typ transakcji: &bull;</td>
  21. <td style=" width: 300px; text-align: left">
  22. <INPUT TYPE="radio" NAME="typ" VALUE="1" CHECKED >Kupno &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp &nbsp
  23. <INPUT TYPE="radio" NAME="typ" VALUE="0">Sprzedaż
  24. </td>
  25. </tr>
  26. </table>
  27. </form>


Ten post edytował l0ud 21.03.2008, 14:48:15


--------------------
XMPP: l0ud@chrome.pl
Go to the top of the page
+Quote Post

Posty w temacie


Closed 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: 14.08.2025 - 17:22