Browse - Programming Tips - How can I make fieldset legend work the normal way after bootstrapDate: 2015mar20 Product: Twitter Bootstrap Language: css Q. How can I make <fieldset> <legend> work the normal way after bootstrap has reset the css for them? A. This css does the trickfieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } fieldset legend { width: auto; /* To override width:100% in bootstrap */ margin-bottom: 0px; border: 0; padding: 0; font-size: 1.2em; } Add a commentSign in to add a comment![]()
|