内嵌一个无边框表格可以不?

解决方案 »

  1.   


    <table border="1" width=400 id="table1">
        <tr>
            <td onmouseover="c=this.childNodes[0].style.backgroundColor;this.childNodes[0].style.backgroundColor='#FFFFCC'" onmouseout="this.childNodes[0].style.backgroundColor=c"><span>文字1</span></td>
            <td onmouseover="c=this.childNodes[0].style.backgroundColor;this.childNodes[0].style.backgroundColor='#FFFFCC'" onmouseout="this.childNodes[0].style.backgroundColor=c"><span>文字2</span></td>
            <td onmouseover="c=this.childNodes[0].style.backgroundColor;this.childNodes[0].style.backgroundColor='#FFFFCC'" onmouseout="this.childNodes[0].style.backgroundColor=c"><span>文字3</span></td>
        </tr>
    </table>
    文字加一个<span>即可,然后改变这个<span>的背景
      

  2.   

    原来是这样,高,实在是高。