1、半透明的表格
把下面的代码放到你的页面的源代码的<table>里面。 <table bgcolor="//颜色代码" style="FILTER: alpha(opacity=//透明度,比如你想半透明那么就写上50就可以了)"> 2、上下左右隐藏边框 很有实用性的一个效果哦,看下面的代码: <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-bottom-width: 0" bordercolor="//表格颜色" width="//宽度"> <tr align="left"> <td style="border-//bottom(下边框)top(上边框)left(左边框)right(右边框)-style: none; border-bottom-width: medium" height="//表格高度">效果</td> </tr> </table> 把它复制到页面代码的<bodt></body>中间,就可以实现效果了。注意修改其中的参数哦。 3、表格边框闪动 在源代码的<body>中加上下面的代码: <table border="0" width="//宽度" id="youid" style="border: 5px solid yellow"> <tr> <br>////</td> </tr> </table> <script language="javascript1.2> <!--> function flashit(){ if (!document.all) return if (youid style.borderColor=="//颜色") youid.style.borderColor="lime" else myexample.style.borderColor="//颜色" } setInterval("flashit()", 500) //--> </script> |
|