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
mihipoznan
post 21.03.2008, 14:54:47
Post #2





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

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


Ok wielkie dzięki smile.gif Tylko że przez ten kod "rowspan" przesuwa nazwę firmy i rozwala całą tabelę tak :

Kod
http://img174.imageshack.us/img174/5520/problem2kf7.jpg


Kod
<table class="color" style=" margin: 0 auto">
<tbody>
<head>
<script type="text/javascript">
function nowe_okno() {
okno = window.open("laduj.php","laduj","toolbar=no, height=200px, width=400px");
}
function zamknij_okno() {
okno.close();
}
</script>
<TR>
<td class="bok"></td>
<td class="bok2">
<!--formularz-->
<table>
<tbody>
<form method="post" action="index1.php?url=7">
<table>
<tr>
<td style=" width: 150px; text-align: left">Nazwa firmy:</td>
<td style=" width: 150px; text-align: left">
<td rowspan="6"><img src="proba.jpg"></td>
<?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;">
<?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ż
</td>
</tr>

I ten obrazek pokazuję się jakoś dziwnie za wierszem..
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 - 19:07