读书人

是否滤镜效果不能在table里使用呀?解

发布时间: 2012-02-13 17:20:26 作者: rapoo

是否滤镜效果不能在table里使用呀?
<table width= "750 " border= "0 " cellspacing= "1 " cellpadding= "0 " align= "center " bgcolor= "green ">
<tr>
<td>
<div id= "skip " align=center style= "FILTER:alpha(opacity=50); position:absolute; left:80%; top:183; height:14px; width:20%; background-color:yellow; z-index:0 ">
<font color=red> <a onmouseover= "this.style.cursor= 'hand ' " onclick= "toPrev() ">  <<Prev. </a>   
<a onmouseover= "this.style.cursor= 'hand ' " onclick= "toNext() "> Next>> </a> </font>
</div>
</td>
</tr>
</table>

以上代码,滤镜效果不能工作。去除掉 <table> <tr> <td> 标签后就OK了。
是不是滤镜效果不能在table里使用呀?

我想让整个网页只显示在屏幕中心750px的地方,两头留空白。

有什么解决方案吗?

谢谢!

[解决办法]
设置Margin或者是用position定位Div
[解决办法]
<table width= "750 " height= "200 " border= "0 " cellspacing= "1 " cellpadding= "0 " align= "center " bgcolor= "green ">
<tr>
<td>
<div id= "skip " style= "FILTER:alpha(opacity=50); height:14px; width:20%; background-color:yellow; ">
<font color=red> <a onmouseover= "this.style.cursor= 'hand ' " onclick= "toPrev() ">  <<Prev. </a>   
<a onmouseover= "this.style.cursor= 'hand ' " onclick= "toNext() "> Next>> </a> </font>
</div>
</td>
</tr>
</table>

读书人网 >CSS

热点推荐