SitePoint Sponsor

User Tag List

Results 1 to 15 of 15

Threaded View

  1. #1
    SitePoint Addict
    Join Date
    Feb 2009
    0 Post(s)
    0 Thread(s)

    Form, input boxes, labels, horizontal or vertical order?

    Hi everyone,
    This is a very basic question about a very basic form I try to create but fail to do so :-(
    The following code:
    HTML Code:
    <!DOCTYPE html>
    <html lang="en">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <form method="post" action=".scripts/sign_up.php"> 
            <label for="sign">name</label> 
            <input type="text" id="sign" name="sign"> 
           <label for="pass">pass </label>
           <input type="password" id="pass" name="pass">		
            <input type="submit" value="sumbit !" /> 
    The outcome of the above code creates a page shown at the screenshot attached.
    My question (a very basic one) :
    Are'nt the input fields supposed to be one field beneath the other? Do I have to take special meanings to make the fields stand one beneath the other?
    Attached Images Attached Images

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts