style="font-family:宋体" onselectstart="return false'

解决方案 »

  1.   

    to net_lover(孟子E章) 
    <table id=tbl style="font-family:宋体" onselectstart="return false'>
    <tr>
      <td>
         .......
      </td>
    </tr>
    </table>是这样吗?
    但是我想通过程序去控制它的属性,这样可以吗?
    document.all.tbl.onselectstart="return false"
      

  2.   

    document.all("tbl").onselectstart=function(){return false}
      

  3.   

    yourTable.className = "beaCSSName";
    没有改不掉的风格。
      

  4.   

    <table id="tbl" style="font-family:宋体" onselectstart="alert()">
    <tr>
      <td>
         .......斯多夫斯多夫
      </td>
    </tr>
    </table>
    <script>
    document.all("tbl").onselectstart=function(){return false}
    </script>