Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    Diverso trattamento tra text e submit ...

    Ciao.
    Qualcuno mi sa spiegare il diverso trattamento
    che viene fatto riguardo a width tra input di tipo
    text e input di tipo submit ???
    Allego un semplice esempio:
    Codice PHP:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <
    html>
    <
    head>
    <
    title></title>
    <
    meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <
    style type="text/css">
    * {
        
    margin:0px;
        
    padding:0px
    }
    body 
        
    text-align:center;
    }
    /* FORM */
    form {
        
    width:550px;
        
    margin0px auto;
         
    text-align:left;
    }
    form label {
        
    float:left;
        
    width:250px;
        
    margin-right:5px;
        
    line-height:20px
           
    text-align:right;
    }
    form input {
        
    width:250px;
    }
    form input#bottom {
        
    width:250px
    }
    br.frmClear 
        
    clear:both
    }
    </
    style>
    </
    head>
    <
    body>
    <
    form name="frmRegister" action="" method="post">
    <
    label>Username : </label>
    <
    input type="text" name="username" value="" maxlength="32" /><br class="frmClear" />
    <
    label>Password : </label>
    <
    input type="password" name="password" value="" maxlength="32" /><br class="frmClear" />
    <
    label></label>
    <
    input id="bottom" type="submit" name="login" value="Login" />
    </
    form>
    </
    body>
    </
    html
    Qualche suggerimento per risolvere il problema ?

    Without faith, nothing is possible. With it, nothing is impossible
    http://ilwebdifabio.it

  2. #2

    ......

    Without faith, nothing is possible. With it, nothing is impossible
    http://ilwebdifabio.it

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.