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:

enter image description here

you control border on fieldset:

fieldset{    border:1px solid #cccc; } 

please note though, positioning of legend "general information" computed style overridden.

"fieldsets , legends"


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -