Web Analytics Made Easy -
StatCounter form question - CodingForum

Announcement

Collapse
No announcement yet.

form question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • form question

    How can we align the forms? Like making them in the same position in vertical?

    The code I have is:

    Code:
    <html>
    <body>
    
    
    <form action="" method=""></form>
    <p>Nome  </p>
    <input type=text />    <br>
    Password
    <input type=password />     <br>
    Email
    <input type=mail /> <br>
    Equipa
    <input type=equipa /> <br>
    <br>
    Submit Button
    <input type=submit value="Submit" />    <br>
    Reset Button
    <input type=reset value="Reset" />
    
    
    </body>
    </html>

  • #2
    Depending on your layout, try:

    <div style="margin:auto">
    form
    </div>

    or

    <div style="text-align:center">
    form
    </div>
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

    Comment


    • #3
      well i want to give spaces after the words for the boxs became ate the same position..tanks

      Comment


      • #4
        Hi there devil_online,

        The normal method is to put your
        writing on the right hand side.....
        Code:
        <html>
        <head>
        
        <style type="text/css">
        <!--
        input.one{width:130px;}
        input.two{width:62px;}
        //-->
        </style>
        
        </head>
        <body>
        
        <div>
        <form action="" method="">
        <input class="one" type=text /> Nome <br />
        <input class="one"type=password /> Password <br />
        <input class="one"type=mail /> Email <br />
        <input class="one"type=equipa /> Equipa <br /><br />
        <input class="two"type=submit value="Submit" /> <input class="two"type=reset value="Reset" />
        </form>
        </div>
        
        </body>
        </html>
        cthead
        Last edited by coothead; Feb 18, 2004, 11:54 AM.
        ~ the original bald headed old fart ~

        Comment


        • #5
          ok..thanks..that's perfect

          Comment


          • #6
            Uhh...You got 2 bad div's there and there's no such type called mail or equipa. You can name these if you wish.
            We put the text to the left in the new world.
            Last edited by zoobie; Feb 18, 2004, 10:43 AM.
            Zoobie or not Zoobie...That is the problem.
            <body onUnload="flush( ! )">

            Comment

            Working...
            X