/    Sign up×
Community /Pin to ProfileBookmark

Fields not displaying properly

[code]
|
|
|
<p>
<label for=”userLB”><&#37;=username%></label><br>
<input type=”text” id=”userLB” name=”USER” maxlength=”40″ class=”inputAlreadyLogin”
onkeydown=”if (event.keyCode == 13) submitLoginBox(document.forms.loginForm)”/>
</p>

<label for=”pwdLB”><%=password%></label><br>
<input type=”password” id=”pwdLB” name=”PASSWORD” maxlength=”40″ class=”inputAlreadyLogin”
onkeydown=”if (event.keyCode == 13) submitLoginBox(document.forms.loginForm)”/>[/code]

I am also having issues with this code. In this code, username and its input box appears fine ie username appears above the input box as coded. But in password, its coded that password label will appear above the passwoed input box. But password label appears below the password input box. Can you pls correct me with this ?

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@crazyboy9807Jul 21.2009 — That's a good one! My observation, if the input for username is displaying correctly, then try putting the password label and input inside of <p> tags as well...
Copy linkTweet thisAlerts:
@manishrathiauthorJul 21.2009 — I already tried that. In that case password label and input box doesnt diaply in the area at all
Copy linkTweet thisAlerts:
@crazyboy9807Jul 21.2009 — The only other thing I could suggest would be in your CSS. Did you use the class selector "inputAlreadyLogin" to position your inputs?
Copy linkTweet thisAlerts:
@manishrathiauthorJul 22.2009 — I dont understand your question.

i have alredy provided the code in first post. I did not use "inputAlreadyLogin" anywhere else. what do you mean by "Did you use the class selector "inputAlreadyLogin" to position your inputs?"

I dont know how to position inputs. Can you pls ask or explain in more details ?
Copy linkTweet thisAlerts:
@manishrathiauthorJul 22.2009 — One more thing

If I remove following code, then password block appears fine &lt;p&gt;
&lt;label for="userLB"&gt;&lt;%=username%&gt;&lt;/label&gt;&lt;br&gt;
&lt;input type="text" id="userLB" name="USER" maxlength="40" class="inputAlreadyLogin"
onkeydown="if (event.keyCode == 13) submitLoginBox(document.forms.loginForm)"/&gt;
&lt;/p&gt;


So whats the issue inn here ?
×

Success!

Help @manishrathi spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...