Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Bootstrap v2 legend with nested columns
<!-- fix legend margin with nested row and row-fluid in bootstrap - https://github.com/twitter/bootstrap/issues/1578 add this:
legend+.row, legend+.row-fluid{margin-top:18px;-webkit-margin-top-collapse:separate;}
-->
<div class="row">
<div class="span12">
<fieldset>
<legend>My Legend</legend>
<div class="row">
<div class="span6">form control group</div>
<div class="span6">form control group</div>
</div>
</fieldset>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment