日期:2014-05-17  浏览次数:20608 次

是否滤镜效果不能在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() "> &nbsp;&lt;&lt;Prev. </a>   &nbsp;&nbsp;
<a   onmouseover= "this.style.cursor= 'hand ' "   onclick= "toNext() "> Next&gt;&gt; </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() "> &nbsp;&lt;&lt;Prev. </a> &nbsp;&nbsp;
<a onmouseover= "this.style.cursor= 'hand ' " onclick= "toNext() "> Next&gt;&gt; </a> </font>
</div>
</td>
</tr>
</table>