Please teach me how to write width percentage float
<style> *{margin:0px;padding:0px;}li{float:left;width:25%;}</style><div style="width:100%"><ul ><li>用户详情</li><li>用户详情</li><li>用户详情</li><li>用户详情</li></ul></div>
<style> *{margin:0px;padding:0px;}li{float:left;width:25%;}</style><div style="width:100%"><ul ><li>用户详情</li><li>用户详情</li><li>用户详情</li><li>用户详情</li></ul></div>
IE’s margin is not counted
in width, so you need to set margin to 0, and set
where needed. When margin:0px is not added,
IE’s margin is not calculated in width In
, you need to set the margin to 0, and set
where needed. When not adding margin:0px,
It’s useless, even adding * is still the same
User details User details User details
User details
Still can’t side by side
I really have to give up IE6!