I’m not 100% certain that this is a CSS problem but I thought it would be a reasonable forum to post my question. The question relates to a strange display issue seen in custom login form.
Let’s start with here:
You can see my login form in the upper right. Not too shabby but its not operational at the moment because I have removed the {exp:member:login_form} code which appears to be causing an issue.
Here’s a duplicate of the page but with the form containing the {exp:member:login_form} code. That’s the only difference between the two examples. Notice the padding or gap in front of Username:
Looking at the code view of the page I see EE inserts some hidden fields in a <div>. Is the <div> causing this spacing problem?
<form method="post" action="http://www.budomembership.com/ee/index.php" >
<div>
<input type="hidden" name="XID" value="27efe545a27705b3f6b72e21375d5ad5d6c6f247" />
<input type="hidden" name="ACT" value="9" />
<input type="hidden" name="RET" value="index.php/budo_membership/" />
<input type="hidden" name="site_id" value="1" />
</div>
<label>Username</label>
<input type="text" name="username" value="" maxlength="32" class="input" size="15" />
<input class='checkbox' type='checkbox' name='auto_login' value='1' />
Remember me
<label>Password</label>
<input type="password" name="password" value="" maxlength="32" class="input" size="15" />
<input type="submit" name="login" value="Login" />
</form>Thank you very much in advance for your feedback. I’d like to add that as a new EE user, I’ve been impressed with the vibrancy and comradeship shown by the EE developer community.