SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Apr 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help to align login form....

    I need help for a design please...

    My source:
    HTML Code:
    <!DOCTYPE html>
    <html>
     <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <link rel="stylesheet" href="stylesheet.css" type="text/css">
     <title>..... removed per OP request .....</title>
     </head>
     <body>
      <div id="loginform">
       <form action="login.php" method="post" name="login">
        <table width="30%">
         <tr>
          <td><center><label for="Username">Username:</label></center></td>
          <td><center><input name="Username" class="inputbox" alt="Username" type="text" value="Username" onclick='value=""'></center></td>
         </tr>
         <tr>
          <td><center><label for="Password">Password:</label></center></td>
          <td><center><input name="Password" class="inputbox" alt="Password" type="password" value="Password" onclick='value=""'></center></td>
         </tr>
         <tr>
          <td><center><p><a href="forgot.php">Forgot your password?</a></p></center></td>
          <td><center><input name="Submit" class="button" value="Login" type="submit"></center></td>
         </tr>
        </table>
       </form>
      </div>
     </body>
    </html>
    The result is....(capture.png) Attachment 59552

    I want...(capture-1.png) Capture-1.png

    Thanks!!
    Attached Images Attached Images
    Last edited by Mittineague; Jul 7, 2012 at 09:17. Reason: per OP request


Bookmarks

Posting Permissions

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