Provi ad inserirlo dentro i tag di una normale pagina html, ad esempio.
Codice HTML:
<html>
<head>
<meta charset="utf-8" />
<title>Titolo</title>
</head>
<body>
<!-- codece form con tabaella -->
</body>
</html>
Può anche usare un codice più moderno come questo:
Codice HTML:
<style>
.table{display:table; width:500px;}
.tr{display:table-row;}
.td{display:table-cell;border:double;}
input{height:24px;}
</style>
<form method="get" action="scheda.php" onsubmit="return controlla();">
<div class="table" style="width:75%;border:1px solid #000;;">
<div class="tr">
<div class="td" style="background:#000000;color:#FFFFFF;text-align:right;width:30%;height:26px;">Cognome(*)</div>
<div class="td" style="background:#99FFFF;color:#FFFFFF;text-align:left;width:48%;height:26px;"><input name="cognome" type="text" size="25" maxlength="25"></div>
</div>
<div class="tr">
<div class="td" style="background:#000000;color:#FFFFFF;text-align:right;width:30%;height:26px;">Nome(*)</div>
<div class="td" style="background:#99FFFF;color:#FFFFFF;text-align:left;width:48%;height:26px;"><input name="nome" type="text" size="25" maxlength="25"></div>
</div>
</div>
</form>
Cordiali saluti.