如何display:inline-block(display:inline)
修复float:right
in ie6
?
代码在:http: //jsfiddle.net/VGAGt/
html
<div>
text<span>>></span>
</div>
css
div{
float:left;
width: 300px;
height: 20px;
padding:5px;
background:#ccc;
}
span{
float:right;
width:20px;
height:20px;
display:inline-block;
zoom:1;
*display:inline;
cursor: pointer;
}