Személyes eszközök
Keresés

 

A InfoWiki wikiből


Komplex form

Táblázatos formában:

<form action="http://localhost/proba.php" method="post">
<table>
  <tr>
    <td>Belépő név:</td>
    <td>*</td>
    <td><input type="text" name="login_nev"/></td>
  </tr>
  <tr>
    <td>Jelszó:</td>
    <td>*</td>
    <td><input type="password" name="login_jelszo"/></td>
  </tr>
  <tr>
    <td>Életkor:</td>
    <td>*</td>
    <td><input type="checkbox" name="elmult_18" value="igen"/></td>
  </tr>
  <tr>
   <td colspan="3"><input type="submit" name="submit" value="Feltöltés"/></td>
  </tr>
</table>
</form>

DIV-ek segítségével:

<form action="http://localhost/proba.php" method="post">
<div style="width:310px;">
  <div style="float:left;width:100px;">Belépő név:</div>
  <div style="float:left;width:10px;">*</div>
  <div style="float:left;width:200px;"><input type="text" name="login_nev"/></div>
  <div style="clear:both;"/>
 
  <div style="float:left;width:100px;">Jelszó:</div>
  <div style="float:left;width:10px;">*</div>
  <div style="float:left;width:200px;"><input type="password" name="login_jelszo"/></div>
  <div style="clear:both;"/>
 
  <div style="float:left;width:100px;">Életkor:</div>
  <div style="float:left;width:10px;">*</div>
  <div style="float:left;width:200px;"><input type="checkbox" name="elmult_18" value="igen"/></div>
  <div style="clear:both;"/>
 
  <div style="width:310px;"><input type="submit" name="submit" value="Feltöltés"/></div>
</div>
</form>
A lap eredeti címe: „http://wiki.ektf.hu/wiki/Cgi-ea/page075
Nézetek
nincs sb_3.139.72.78 cikk