我有下面的HTML頁面:正確導入html元素的順序?
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Extended UI</title>
<style type="text/css">
.header{
padding-right:50px;
}
.value{
padding-left:50px;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="score"><span class="header">Score:</span><span class="value">10</span></div>
<div id="dd-1"><span class="header">Has Account</span><span class="value"><select name="" id="">
<option value="">Yes</option>
<option value="">No</option>
</select></span></div>
<div id="dd-2"><span class="header">Has House</span><span class="value"><select name="" id="">
<option value="">Yes</option>
<option value="">No</option>
</select></span></div>
<div id="dd-3"><span class="header">Has Phone</span><span class="value"><select name="" id="">
<option value="">Yes</option>
<option value="">No</option>
</select></span></div>
</div>
</body>
</html>
所有值不按順序顯示。我怎樣才能正確地把所有的價值訂單?
謝謝!
訂單的意思是,你是在談論縮進和位置? – Harish