As shown in the picture, there are 2 LIs. There is a gap between the first and the second one, and there is no gap between the left and the most. It requires support from a lower version of IE, such as IE6, 7, etc., only uses css. Is it possible?
Use conditional comments to determine the browser.
and gt lt gte lte
Use conditional comments to determine the browser.
Use conditional comments Determine the browser.
Just two li?
<style type="text/css">ul{margin:0;padding:0;}li{list-style:none;width:100px;height:50px;background:red;}li.left{float:left;}li.right{float:right;}</style><ul><li class="left"></li><li class="right"></li></ul>
Just two li?
<style type="text/css">ul{margin:0;padding:0;}li{list-style:none;width:100px;height:50px;background:red;}li.left{float:left;}li.right{float:right;}</style><ul><li class="left"></li><li class="right"></li></ul>