<!-- make sure the link block fulfill the whole container -->
a {display:block;float:left;border:1px solid #ccc; width:48%}
<!-- work great in width:400px; -->
<div id=container1 style="width:400px">
<a href="" >first element</a>
<a href="" >second element</a>
</div>
<!-- not good! no enough space for second link block in my situation test in firefox-->
<div id=container1 style="width:200px">
<a href="" >first element</a>
<a href="" >second element</a>
</div>
那麼,有沒有一種方法,使他們全部完成,並通過側不同寬度的容器對準側!?
非常感謝!
完美!非常感謝你!! – qinHaiXiang 2011-02-13 06:53:32