在见行动我的代码:http://losthobbit.net/temp/radiogroup.html当高度设置为100%时,为什么fieldset超过其容器的高度?
下面的代码:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Radio Group Test</title>
</head>
<body>
<div id="Radiogroup" style="position: absolute; top: 9px; left: 12px; width: 234px; height: 177px; background-color:Aqua">
<fieldset style="height: 100%">
<legend>Radiogroup</legend>
</fieldset>
</div>
</body>
</html>
为什么字段集超过div的高度?
在此先感谢
浏览器以不同方式处理边距和填充;看看''reset.css'' – pixelbobby 2011-06-03 16:10:50
谢谢你的提示,pixelbobby – 2011-06-03 16:21:20
我希望你找到你的方式,霍比特人...... – pixelbobby 2011-06-03 16:25:22