javascript css styleFloat和cssFloat
下面是兼容性代码 实现代码如下: LTFunction.setFloatStyle=function(obj,style) { var sty=obj.style; if('cssFloat' in sty){ obj.style.cssFloat=style; }else if('styleFlo
下面是兼容性代码 实现代码如下: LTFunction.setFloatStyle=function(obj,style) { var sty=obj.style; if('cssFloat' in sty){ obj.style.cssFloat=style; }else if('styleFlo
我常用的都是clear:both;方法,如 今在PlanABC看到另外这种方法,特些记录下来。 div.container {border: 1px solid #000000; } div.left {width: 45%;float: left; } div.right {width: 45