The first line will allow you to preserve all the attributes from the login control level to the div level. That include the class attribute and the login control ID attribute. Your code is removing now the login ID.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Contributor
2160 Points
496 Posts
Re: Custom login control
Oct 30, 2009 11:47 AM|florinlabou|LINK
One small remark. You should replace this code:
with:
The first line will allow you to preserve all the attributes from the login control level to the div level. That include the class attribute and the login control ID attribute. Your code is removing now the login ID.