我想創建一個網頁的基本佈局。第一個綠色div出現,但第二個div'bottomtest'不是。有誰知道爲什麼?我正在使用IE8。DIV沒有出現在IE8中
<!DOCTYPE html>
<head>
</head>
<body>
<div class="toptest" style="height:200px; width:auto; background-color:green;" />
<div class="bottomtest" style="background-color:blue; height:500px; width:auto;" />
</body>
</html>
你的HTML爲[無效](http://validator.w3.org/),它不能幫助。 – Quentin
它是如何失效?你知道爲什麼第二個div沒有出現在第一個div下面嗎? –
我鏈接的驗證器會告訴你它是無效的。 – Quentin