Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    Mar 2005
    Messaggi
    196

    Css su form, allineamento input

    Ciao, dovrei allineare gli input in un form, come fare?

    Codice PHP:

    <html>
    <
    head>

    <
    style type="text/css">

    #form { 
     
    width250px;
     
    colorblue
     
    font12px bold Verdana;
    }
    input {
     
    border1px dashed blue
     
    backgroundwhite;
     
    height25px
     
    colorblue;
     
    font12px bold Verdana;
     
    height20px;
    }
    .
    tasto {
     
    border1px solid blue;
    }

    </
    style>

    </
    head>

    <
    body>

    <
    form id="form">
    Nome <input type="text" name="nome">

    Cognome <input type="text" name="cognome">

    Password <input type="password" name="pass">

    Password <input type="password" name="pass2">

    Email <input type="text" name="mail">

    <
    input type="submit" name="sub" value="Invia dati" class="tasto">
    <
    input type="reset" name="reset" value="Resetta" class="tasto">

    </
    form>

    </
    body>
    </
    html
    ho provato aggiungendo position: absolute; e left: 80px; ma se cambio browser o pc mi scazza il layout.

  2. #2
    Utente di HTML.it
    Registrato dal
    Mar 2005
    Messaggi
    196
    up

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 © 2024 vBulletin Solutions, Inc. All rights reserved.