fieldset和legend用法
应用与from表单之间 例如
<fieldset>
<legend><strong>反馈类型</strong></legend>
<div>
<input type="radio" checked id="type1" name="type" value="表扬"><label for="type1">表扬</label> <input type="radio" id="type2" name="type" value="投诉"><label for="type2">投诉</label> <input type="radio" id="type3" name="type" value="建议"><label for="type3">建议</label>
</div>
<div class="f12">
<span class="red">*</span>本功能适用于服务表扬、投诉和业务建议,常规业务问题请联系我们的技术支持工程师,以免耽误您宝贵的时间。
</div>
</fieldset>
看看效果 是是很惊讶啊!!!标题定位在边框之外了
应用与from表单之间 例如
<fieldset>
<legend><strong>反馈类型</strong></legend>
<div>
<input type="radio" checked id="type1" name="type" value="表扬"><label for="type1">表扬</label> <input type="radio" id="type2" name="type" value="投诉"><label for="type2">投诉</label> <input type="radio" id="type3" name="type" value="建议"><label for="type3">建议</label>
</div>
<div class="f12">
<span class="red">*</span>本功能适用于服务表扬、投诉和业务建议,常规业务问题请联系我们的技术支持工程师,以免耽误您宝贵的时间。
</div>
</fieldset>
看看效果 是是很惊讶啊!!!标题定位在边框之外了