如何設置兩個div元素的樣式,以便它們像下面的示例一樣粘在另一個div元素的右側&?位置div元素要堅持另一個div元素的左側和右側?
<div id="container">
<div id="left">Left.</div>
<div id="box">This is a box.</div>
<div id="right">Right.</div>
</div>
+#container--------------------------------------------------+
| |
| |
| +#left---+#box-------------------+#right--+ |
| | | | | |
| | | | | |
| | | | | |
| | Left. | This is a box. | Right. | |
| | | | | |
| | | | | |
| +--------+-----------------------+--------+ |
| |
| |
+------------------------------------------------------------+
我可以看到更多的像'table'比'div',您可以使用這裏 – niksvp 2011-05-17 15:29:29