引用CSS的属性就要加style了,引用对象本身的属性就不要加、
none是clear默认属性
属性值代表的意思如下:
none Default. Floating objects are allowed on both sides. 
left Object is moved below any floating object on the left side. 
right Object is moved below any floating object on the right side. 
both Object is moved below any floating object. 

解决方案 »

  1.   

    楼上的前辈,还有个问题,就是如何在其他函数中终止另外一个函数的setTimeout()呢?例如 
    function a {
    setTimeout ("a()" , 1000);
    }如何在
    function b {
    }
    中终止他的定时器呢?
    在刷新后,被终止的定时器还回自动启动吗?
      

  2.   

    var tid = null;
    function a {
    tid = setTimeout("a()" , 1000);
    }function b {
     if(tid!=null){
       clearTimeout(tid);
       tid = null;
     }
    }