Bootstrap form styling with ASP.Net single form limitation
asp.net, twitter-bootstrap-3, webforms
Solution
I think nothing can stop you from replacing `form` tag with `div`. At least official example works fine in JSFiddle.
<div class="form-horizontal" role="form">
See JSFiddle with `div` and with `form`
Problem
My site uses ASP.Net Web Forms, which limits you to having only one form with `runat="server"`, so I have wrapped all the content in a form tag. Now, I am using Bootstrap 3, and would like to style some of the forms individually with .form-horizontal. It seems that to use Bootstrap horizontal form styling I would have to either rethink how I use forms on the site, or I would have to use horizontal forms everywhere, neither of which is ideal. So now it looks like I'll have to mimic horizontal forms with custom styling. Is there a better way?