Programming Tips - How can I make fieldset legend work the normal way after Bootstrap

Date: 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 trick
fieldset { 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; /* To override margin-bottom: 20px in Bootstrap */ border: 0; padding: 0; font-size: 1.2em; /* Much bigger in Bootstrap */ }