<fieldset class="wp"> <legend class="inner">分割线</legend> </fieldset>
css
.wp { font-size: 14px; color: #999; border: 0; border-top: 1px solid #ccc; padding: 0; } .inner { margin: 0 auto; padding: 0 10px; }
<fieldset class="wp"> <legend class="inner">分割线</legend> </fieldset>
css
.wp { font-size: 14px; color: #999; border: 0; border-top: 1px solid #ccc; padding: 0; } .inner { margin: 0 auto; padding: 0 10px; }