html - having problems lining up a few objects on my form -


i'm having problems getting buttons line up. here going:

enter image description here

this i'd them do:

enter image description here

here code:

  @using (html.beginform("logon2", "account", formmethod.post))   {      <div>         <fieldset>             <legend>login</legend>              <div class="editor-label">                   @html.labelfor(m => m.username)             </div>             <div class="editor-field focus">                 @html.textboxfor(m => m.username, new { @class = "generictextbox", onkeyup = "enablelogonbutton()" })                 @html.validationmessagefor(m => m.username)             </div>              <div class="editor-label">                 @html.labelfor(m => m.password)             </div>             <div class="editor-field">                 @html.passwordfor(m => m.password, new { @class = "genericpasswordbox", onkeyup = "enablelogonbutton()" })                 @html.validationmessagefor(m => m.password)             </div>           <br/>              <p>               <input type="submit" disabled="disabled" value="log on" onclick="disablesubmitbutton()"/>                       <script type="text/javascript" src="https://seal.godaddy.com/getseal?sealid=hwxeuzaboxyxknb28uedib8ufmw5ek2tywq6mxxt6q06aqalqratpbz"></script>             </p>                    <p>             if need retrieve username @html.actionlink("click here.", "forgotusername", "account")<br/>             if need reset password @html.actionlink("click here.", "forgotpassword", "account")           </p>          </fieldset>     </div> } 

i'm not sure how them show each other.

any suggestions?

give class name "get_in_middle" p tag holds both login , image. place css,

p.get_in_middle input,p.get_in_middle img{     vertical-align:middle; } 

http://jsfiddle.net/tugup/9/


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -