Ciao raga,
ho creato un "se cosi si può chiamare" modulo form con dreamweaver per l'inserimento di contratti in un DB, visto che sono in difficoltà mi dareste una mano a sistemare il codice in modo che acquisisca una visualizzazione normale?VVoVe:
Il "form" è visibile all'indirizzo http://www.salernoserver.com/test.php vi posto anche il codice....
Non guardate gli input type, a me interessa per il momento solo la formattazione... Ci sto sbattendo da un bel po'codice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Modulo Contratto</title> </head> <body> <fieldset> <legend>Dati Anagrafici</legend> <table border="0"> <tr> <th width="257" scope="col"><label for="nome"> <div align="left">Ragione Sociale</div> </label> <div align="left"> <input type="text" name="cognome" id="cognome" /> </div></th> <th width="181" scope="col"><label for="label"> <div align="left"></div> </label> <div align="left"></div></th> <th width="158" scope="col"></th> <th width="199" scope="col"></th> <th width="163" scope="col"></th> </tr> <tr> <td><label for="anno"> <div align="left">Comune Sede Legale</div> </label> <div align="left"> <input type="text" name="textField" id="anno" /> </div></td> <td><label for="label">Provincia</label> <input type="text" name="anno" id="label" /></td> <td><label for="label2">Via</label> <input type="text" name="anno2" id="label2" /></td> <td><label for="label3">Numero Civico</label> <input type="text" name="anno3" id="label3" /></td> <td><label for="label4">Cap</label> <input type="text" name="anno4" id="label4" /></td> </tr> <tr> <td><label for="label5">Codice Fiscale</label> <input type="text" name="anno5" id="label5" /></td> <td><label for="label6">Partita IVA</label> <input type="text" name="anno6" id="label6" /></td> <td></td> <td></td> <td></td> </tr> <tr> <td><label for="label7">Referente Contrattuale</label> <input type="text" name="anno7" id="label7" /></td> <td><label for="label8">Numero di Telefono</label> <input type="text" name="anno8" id="label8" /></td> <td></td> <td></td> <td></td> </tr> <tr> <td><label for="label9"> Desidero ricevere fattura via e-mail</label> <form id="form1" name="form1" method="post" action=""> <label> <input type="checkbox" name="si" id="si" /> si</label> <input type="checkbox" name="no" id="no" /> no </form> </p></td> <td><form id="form2" name="form2" method="post" action=""> <label></label> Indirizzo e-mail </form> <label for="label9"></label> <input type="text" name="anno9" id="label9" /></td> <td></td> <td></td> <td></td> </tr> </table> </fieldset> <fieldset> <legend>Dati Legale Rappresentante</legend> <table border="0"> <tr> <th width="224" scope="col"><label for="nome"> <div align="left">Cognome*</div> </label> <div align="left"> <input type="text" name="cognome" id="cognome" /> </div></th> <th width="203" scope="col"><label for="label"> <div align="left">Nome*</div> </label> <div align="left"> <input type="text" name="nome" id="nome" /> </div></th> <th width="171" scope="col"></th> <th width="199" scope="col"></th> <th width="163" scope="col"></th> </tr> <tr> <td><label for="anno"> <div align="left">Luogo di Nascita</div> </label> <div align="left"> <input type="text" name="textField" id="anno" /> </div></td> <td><label for="label">Data di Nascita</label><input type="text" name="anno" id="label" /></td> <td><label for="label2">Comune di Residenza</label> <input type="text" name="anno2" id="label2" /></td> <td><label for="label3">Provincia</label><input type="text" name="anno3" id="label3" /></td> <td><label for="label4">Numero Civico</label><input type="text" name="anno4" id="label4" /></td> </tr> <tr> <td><label for="label5">Cap </label><input type="text" name="anno5" id="label5" /></td> <td><label for="label6">Codice Fiscale</label> <input type="text" name="anno6" id="label6" /></td> <td></td> <td></td> <td></td> </tr> </table> </fieldset> <fieldset> <legend>Recapito Fatture (solo se diverso da quanto sopra)</legend> <table border="0"> <tr> <th width="224" scope="col"><label for="nome"> <div align="left">Ragione Sociale</div> </label> <div align="left"> <input type="text" name="cognome2" id="cognome2" /> </div></th> <th width="203" scope="col"><label for="label"> <div align="left"></div> </label> <div align="left"></div></th> <th width="171" scope="col"></th> <th width="199" scope="col"></th> <th width="163" scope="col"></th> </tr> <tr> <td><label for="anno"> <div align="left">Comune Sede Legale</div> </label> <div align="left"> <input type="text" name="anno10" id="anno2" /> </div></td> <td><label for="label10">Provincia</label> <input type="text" name="label" id="label10" /></td> <td><label for="label11">Via</label> <input type="text" name="label" id="label11" /></td> <td><label for="label12">Numero Civico</label> <input type="text" name="label" id="label12" /></td> <td><label for="label13">Cap</label> <input type="text" name="label" id="label13" /></td> </tr> </table> </fieldset> <legend>Dati bancari per attivazione RID</legend> <table border="0"> <tr> <th width="224" scope="col"><label for="nome"> <div align="left">Descrizione Banca</div> </label> <div align="left"> <input type="text" name="cognome2" id="cognome2" /> </div></th> <th width="203" scope="col"></th> <th width="171" scope="col"></th> <th width="199" scope="col"></th> <th width="163" scope="col"></th> </tr> <tr> <td><label for="anno"> <div align="left">IBAN</div> </label> <div align="left"> <input type="text" name="anno10" id="anno2" /> </div></td> <td>Cognome </label> Intestatario c/c <div align="left"> <input type="text" name="anno11" id="anno3" /> </div> <label for="label10"></label></td> <td><label for="label11">Nome </label> Intestatario c/c</label> <div align="left"> <input type="text" name="anno13" id="anno5" /> </div></td> <td><label for="label12">Codice Fiscale</label><input type="text" name="label" id="label12" /></td> <td><label for="label13"></label></td> </tr> </table> </fieldset> <table border="0"> <tr> <th width="224" scope="col"><label for="nome"> <div align="left">Descrizione Banca</div> </label> <div align="left"> <input type="text" name="cognome2" id="cognome2" /> </div></th> <th width="203" scope="col"></th> <th width="171" scope="col"></th> <th width="199" scope="col"></th> <th width="163" scope="col"></th> </tr> <tr> <td><label for="anno"> <div align="left">IBAN</div> </label> <div align="left"> <input type="text" name="anno10" id="anno2" /> </div></td> <td>Cognome </label> Intestatario c/c <div align="left"> <input type="text" name="anno11" id="anno3" /> </div> <label for="label10"></label></td> <td><label for="label11">Nome </label> Intestatario c/c</label> <div align="left"> <input type="text" name="anno13" id="anno5" /> </div></td> <td><label for="label12">Codice Fiscale</label><input type="text" name="label" id="label12" /></td> <td><label for="label13"></label></td> </tr> </table> </fieldset> <fieldset> <legend>Accise e IVA</legend> Il legale rappresentante della suddettà società sotto la personale responsabilità e consapevole delle responsabilità derivate in caso di dichiarazioni non veritiere DICHIARA che nel punto di prelievo indicato e società esercità l'attività di <input name="p." type="text" /> e che il punto di fornitura in questione <input name="p.f" type="radio" value="" /> va da <input type="text" name="xx" id="xx" /> </form> %</p> <input type="radio" name="radio" id="x" value="x" /> Accise ordinarie </p> <input type="radio" name="radio" id="xx2" value="xx" /> Agevolazioni/Esenzioni </p> </fieldset> <fieldset> <legend>Punto di Fornitura</legend> <table border="0"> <tr> <th width="224" scope="col"><label for="nome"> <div align="left">Sito per cui si richiede l'attivazione</div> </label> <div align="left"> <input type="text" name="cognome2" id="cognome2" /> di <input type="text" name="xx2" id="xx3" /> </div></th> <th width="203" scope="col"><label for="label14">Comune</label> <input type="text" name="label2" id="label14" /></th> <th width="164" scope="col"><label for="label15"> <div align="center">Provincia</div> </label> <input type="text" name="label3" id="label15" /></th> <th width="206" scope="col"><label for="label16">Via</label> <input type="text" name="label4" id="label16" /></th> <th width="163" scope="col"><label for="label17">Numero Civico</label> <input type="text" name="label5" id="label17" /></th> </tr> <tr> <td><label for="label18">Cap </label> <input type="text" name="label6" id="label18" /> <div align="left"></div></td> <td>Codice / Matricola <div align="left"> <input type="text" name="anno11" id="anno3" /> </div> <label for="label10"></label></td> <td><label for="label11">Codice Attacco</label><div align="left"> <input type="text" name="anno13" id="anno5" /> </div></td> <td><label for="label12">Potenza Disponibile</label><input type="text" name="label" id="label12" /></td> <td><label for="label19">Consumo Stimato</label> <input type="text" name="label7" id="label19" /> <label for="label13"></label></td> </tr> </table> </body> </html>![]()
Thanks!

VVoVe:
Rispondi quotando