我的表单的css代码,
form {
margin:0 auto;
text-align:left;
width:740px;
border:1px solid #ccc;
padding:15px;
background:#fff;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
box-shadow: 0 0 4px #ccc;
-webkit-box-shadow: 0 0 4px #ccc;
-moz-box-shadow: 0 0 4px #ccc;
behavior: url(./border-radius.htc);
font-family:Calibri;
height: auto;
}
我希望表单背景随表单扩展,它发生在 Chrome 中,但不在 IE8 中。
我有一些隐藏的 DIV,根据选择设置为可见。
另外,我怎样才能让 Chrome 和 IE 的 CSS 格式看起来相似。
例如:如果我想让 2 div 可见,表单会相应扩展,但问题是表单边框不会在 IE 中扩展。
请查看 jsfiddle 中的整个工作代码