当柳上原的风吹向天际的时候...

真正的快乐来源于创造

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  368 Posts :: 1 Stories :: 201 Comments :: 0 Trackbacks
在ie6中,如果给Table表格的表投行TH设定背景图片,将导致IE6出现无响应的Bug,实例代码如下:
Table.stock th{
    font-size
:13px;
    font-weight
:normal;
    background-color
:#f2f9ff;
    
    color
:#333333;
    height
:20px;
    line-height
:20px;
    text-align
:center;
    
    border-left
:1px solid #d0d0d0;
    border-right
:1px solid #d0d0d0;
    border-bottom
:1px solid #d0d0d0;
    
    
/*background-image:url(titBg.gif); it will make IE6 no response.*/
    
/*background:#f2f9ff url(thbg.png) repeat-x;    it will also make IE6 no response.*/
}   

如果在IE8中则没有这样的问题,如果被迫适应IE6,只有取消上面粗体部分。
posted on 2011-07-08 11:10 何杨 阅读(479) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: