我有可滾動的div內,我有每個數據和複選框。在這裏我想讓我的複選框在一個路線,任何人都可以建議我如何做到這一點。html元素的位置的CSS樣式
<html>
<head>
</head>
<body>
<div style="border : solid 2px #ff0000; background : #000000; color : #ffffff; padding : 4px; width : 200px; height : 50px; overflow : auto; ">
test1 <input type="checkbox" name="test" value="ewew" style=" position: absolute; right: 0px; top: 0px; "/> <br />
testing123<input type="checkbox" name="test" value="ewew" style=" position: absolute; right: 199px; top: 0px; "/><br />
testing45678<input type="checkbox" name="test" value="ewew" style=" position: absolute; right: 199px; top: 0px; "/><br />
</div>
</html>
問候,
拉吉
你想要的複選框來對齊文本的每一行? – gmedina 2011-03-03 16:57:06