Horizontal Form Within a Legend Form

berrybrussels

New Member
How would I add a horizontal form to a legend form? When I try to do it, the horizontal form doesn't look as it should: http://i.imgur.com/tJAT5k4.pngHere's my code:\[code\]<form> <fieldset> <legend>Legend Text</legend> <form class="form-horizontal"> <div class="control-group"> <label class="control-label" for="inputEmail">Email</label> <div class="controls"> <input type="text" id="inputEmail" placeholder="Email"> </div> </div> <div class="control-group"> <label class="control-label" for="inputPassword">Password</label> <div class="controls"> <input type="password" id="inputPassword" placeholder="Password"> </div> </div> <div class="control-group"> <div class="controls"> <label class="checkbox"> <input type="checkbox"> Remember me </label> <button type="submit" class="btn">Sign in</button> </div> </div> </form> </fieldset></form>\[/code\]All of the CSS is the bootstrap default CSS.Please help!
 
Back
Top