0
我想作簡單的形式,沒有真棒的div和CSS - 它的結構是這樣的:IE7浮動(不div的)
<form id="cform" action="/" method="post">
<fieldset>
<label class="first" for="name">Nazwa firmy: </label><input id="name" name="name" type="text" />
<label class="first" for="email">Email: </label><input id="email" name="email" type="text" />
</fieldset>
</form>
CSS
#cform input, #cform textarea, #cform label, #cform select
{
float: left;
}
label.first, #cform input[type="submit"]
{
margin-bottom: 10px;
width: 150px;
float: left;
clear: both;
}
#cform textarea
{
width: 400px;
height: 250px;
margin-bottom: 10px;
}
在FF,IE8,Chrome和Opera看上去不錯。但是在IE7中,投入正在尋找,就像他們根本沒有浮動。如何解決它? (無添加的div請版本)
噢,忘了鏈接 http://site.amm.siedlce.pl/front/page/get/79/
你有沒有考慮過使用特定於IE7的樣式表,並使用條件註釋來調用它? – Hristo 2010-08-08 00:31:34
但我甚至不知道如何解決它在IE7中 – Misiur 2010-08-08 07:18:48