twitter bootstrap border title -
just wanted know how give border title using bootstrap? example below.
<div id="form" style="width:350px;"> <fieldset> <legend style="color:blue;font-weight:bold;">general information</legend> <table> <tr> <td><span style="text-decoration:underline">c</span>hange password to:</td> <td><input type="text" /></td> </tr> <tr> <td><span style="text-decoration:underline">c</span>onfirm password:</td> <td><input type="text" /></td> </tr> </table> </fieldset> </div>
based on html, outcome in chrome:
you control border on fieldset:
fieldset{ border:1px solid #cccc; }
please note though, positioning of legend "general information" computed style overridden.
Comments
Post a Comment