Jump to content

Done javascript in my forms,but now its not allowing me to position using css?


usman07

Recommended Posts

This is the code for my textboxes which i want to position using css and im trying too using the div id's but they are not moving.

 

<form id="form1" method="post" onsubmit='return checkForm();' action="">
       
         <div id="firstname"> First Name: <input type='text' id='nameone' onblur='checknameone();' maxlength='60' size='40'/>
         <label id='labelnameone'></label> </div>
         
    	

	<div id="secondtwo">Last Name: <input type="text" id="nametwo" onblur='checknametwo();' maxlength='60' size='40' />
	<label id='labelnametwo'></label>
	</div>


<div id="mail">Email Address:<input type="text" name="email" onkeyup="checkEmail(this.value);" onblur="checkEmail(this.value);" 
maxlength="60" size="20"/><img id="status" src="Form images/bad.png" alt=""/> </div>


<div id="loginname">Login Name: <input type="text" id="login" onblur='checklogin();' maxlength="60" size="40"/>
<label id='labellogin'></label>
</div>

<div id="password1">Password: <input type="password" id="pwdone" onblur='checkpwdone();' maxlength="30" size="40"/>
<label id='labelpwdone'></label>
</div>

<div id="password2">Retype Password: <input type="password" id="pwdtwo" onblur='checkpwdtwo();' maxlength="30" size="40" />
<label id='labelpwdtwo'></label>
</div>

</form>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.