如果 IE (9/10/others?) 有虚线边框,它似乎会忽略字段集元素的边框宽度 1。有人知道解决方法吗?
小提琴:http: //jsfiddle.net/9hjys/
<!DOCTYPE html><html><head></head><body>
<fieldset style='border:1px dashed;'>
<legend style="background:white;">test</legend>
fieldset dashed border is more than 1px wide in IE (9/10 at least,
not sure about others)
</fieldset>
<fieldset style='border:1px solid;'>
<legend>test</legend>
solid border is all normal like.
</fieldset>
<br/>
<div style='border:1px dashed;display:inline-block;'>
inline-block divs work normal
</div>
<br/><br/>
<div style='border:1px dashed;display:block;'>
block divs work normal
</div>
</body></html>