Visualizzazione dei risultati da 1 a 6 su 6

Discussione: Una riga di troppo...

  1. #1
    Utente di HTML.it L'avatar di digitm
    Registrato dal
    May 2002
    Messaggi
    412

    Una riga di troppo...

    Ciao ragazzi, ecco il mio piccolo problema:

    Ho una tabella con dentro un altra tabella contenente un form, solo che quando la testo, sotto la tabella verde, mi compare uno spazio come se ci fosse inserito un
    che io non ho messo... come fare?

    Ecco il codice...

    <html>
    <head>
    <title>:: www.asef.com ::</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body leftmargin="0" topmargin="0">

    <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr bgcolor="#99CC00">
    <td height="19" bgcolor="#000000"><form name="form1" method="post" action="">
    <table width="328" height="20" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#99CC00" >
    <tr>
    <td width="1" height="20"></td>
    <td width="39"><div align="center"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">USER</font></div></td>
    <td width="83"> <div align="right">
    <input name="textfield" type="text" size="15" style="color: #000000; background-color: #ffffff; border-top : 1px solid; border-bottom : 1px solid; border-left : 1px solid; border-right : 1px solid; font-family : Verdana,tahoma,Arial; font-size : 10px;">
    </div></td>
    <td width="77"> <div align="center"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">PASSWORD</font></div></td>
    <td width="82"> <div align="center">
    <input name="textfield2" type="text" size="15" style="color: #000000; background-color: #ffffff; border-top : 1px solid; border-bottom : 1px solid; border-left : 1px solid; border-right : 1px solid; font-family : Verdana,tahoma,Arial; font-size : 10px;">
    </div></td>
    <td width="46" valign="middle" bgcolor="#99CC00"> <div align="center">
    <input type="submit" name="Submit" value="OK" style="height: 16px; color: #000000; background-color: #ffcc00; border-top : 1px solid; border-bottom : 1px solid; border-left : 1px solid; border-right : 1px solid; font-family : Verdana,tahoma,Arial; font-size : 10px; font-weight: bold;">
    </div></td>
    </tr>
    </table>
    </form></td>
    </tr>
    </table>
    </body>
    </html>

  2. #2
    Utente bannato
    Registrato dal
    Dec 2003
    Messaggi
    721
    <html>
    <head>
    <title>:: www.asef.com ::</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body leftmargin="0" topmargin="0">

    <form name="form1" method="post" action="">
    <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr bgcolor="#99CC00">
    <td height="19" bgcolor="#000000">
    <table width="328" height="20" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#99CC00" >
    <tr>
    <td width="1" height="20"></td>
    <td width="39"><div align="center"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">USER</font></div></td>
    <td width="83"> <div align="right">
    <input name="textfield" type="text" size="15" style="color: #000000; background-color: #ffffff; border-top : 1px solid; border-bottom : 1px solid; border-left : 1px solid; border-right : 1px solid; font-family : Verdana,tahoma,Arial; font-size : 10px;">
    </div></td>
    <td width="77"> <div align="center"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">PASSWORD</font></div></td>
    <td width="82"> <div align="center">
    <input name="textfield2" type="text" size="15" style="color: #000000; background-color: #ffffff; border-top : 1px solid; border-bottom : 1px solid; border-left : 1px solid; border-right : 1px solid; font-family : Verdana,tahoma,Arial; font-size : 10px;">
    </div></td>
    <td width="46" valign="middle" bgcolor="#99CC00"> <div align="center">
    <input type="submit" name="Submit" value="OK" style="height: 16px; color: #000000; background-color: #ffcc00; border-top : 1px solid; border-bottom : 1px solid; border-left : 1px solid; border-right : 1px solid; font-family : Verdana,tahoma,Arial; font-size : 10px; font-weight: bold;">
    </div></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>

  3. #3
    Utente di HTML.it L'avatar di digitm
    Registrato dal
    May 2002
    Messaggi
    412
    In che senso il form da problema?

  4. #4
    Utente bannato
    Registrato dal
    Dec 2003
    Messaggi
    721
    Originariamente inviato da digitm
    In che senso il form da problema?
    crea una riga se messo dentro una tabella o div.

    controlla il codice che ti ho scritto io, vedrai che non c'è più la riga

  5. #5
    Utente di HTML.it L'avatar di digitm
    Registrato dal
    May 2002
    Messaggi
    412
    Se lo esco dalla tabella l'errore non drovebbe esserci invece.... (ho postato un nuovo codice)



    <html>
    <head>
    <title>:: www.asef.com ::</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body leftmargin="0" topmargin="0">
    <form name="form1" method="post" action="index.asp">
    <table width="328" height="20" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#99CC00" >
    <tr>
    <td width="1" height="20"></td>
    <td width="39"><div align="center"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">USER</font></div></td>
    <td width="83"> <div align="right">
    <input name="textfield" type="text" size="15" style="color: #000000; background-color: #ffffff; border-top : 1px solid; border-bottom : 1px solid; border-left : 1px solid; border-right : 1px solid; font-family : Verdana,tahoma,Arial; font-size : 10px;">
    </div></td>
    <td width="77"> <div align="center"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">PASSWORD</font></div></td>
    <td width="82"> <div align="center">
    <input name="textfield2" type="text" size="15" style="color: #000000; background-color: #ffffff; border-top : 1px solid; border-bottom : 1px solid; border-left : 1px solid; border-right : 1px solid; font-family : Verdana,tahoma,Arial; font-size : 10px;">
    </div></td>
    <td width="46" valign="middle" bgcolor="#99CC00"> <div align="center">
    <input type="submit" name="Submit" value="OK" style="height: 16px; color: #000000; background-color: #ffcc00; border-top : 1px solid; border-bottom : 1px solid; border-left : 1px solid; border-right : 1px solid; font-family : Verdana,tahoma,Arial; font-size : 10px; font-weight: bold;">
    </div></td>
    </tr>
    </table>
    </form>
    <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr bgcolor="#99CC00">
    <td height="19" bgcolor="#000000">
    </td>
    </tr>
    </table>
    </body>
    </html>

  6. #6
    Utente bannato
    Registrato dal
    Dec 2003
    Messaggi
    721
    trovato la soluzione

    http://forum.html.it/forum/showthrea...hreadid=534041


    basta che tu metta nello style
    <style>
    form{
    margin:0px;
    padding:0px;
    }
    </style>

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.