網(LieHuo.Net)教程 如何實現 CSS 兩個 DIV 平行存放?
先看css樣式部分:
以下為引用的內容: <style> div {display:block; width:80px; height:22px; float:left;} div.L {border-right:0px solid #f00;} div.R {border-right:0px solid #aaa;border-left:0px solid #aaa; margin:0px 0px 0px -1px;} </style> |
再來看HTML代碼:
以下為引用的內容: <div class="L"> test <br /> est <br /> est <br /> est <br /> est <br /> est <br /> est <br /> est </div> |