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

div+css在firefox中显示正常ie中不显示
HTML code

<!--#include virtual="/inc/config.asp"-->
<!--#include virtual="/forbidIp.asp"-->
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=SiteName%></title>

<script type="text/javascript" src="/plan_tools/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/plan_tools/cutstring.js"></script>
<style type="text/css">
body {
background-attachment:fixed;
background-image:url(text.txt);
margin:auto;
text-align:center;
}
input{background-color:#B0C4DE;border:1px solid #77a;}
/*#csstable{border:solid #add9c0; border-width:1px 0px 0px 1px;}
#csstable td{border:solid #add9c0; border-width:0px 1px 1px 0px; padding:10px 0px;}*/
.btn {
background-color:#B0C4DE;
border:1px solid #B0C4DE;cursor:pointer;text-align:center;
width:38px;
display:inline-block;/*FF2.0*/-moz-display:inline-block;

font-family:Verdana;*font-family:Georgia;_font-family:Tahoma;

padding:0 10px 1px;*padding:3px 3px 1px;_padding:0 4px 1px;

line-height:18px;*line-height:14px;_line-height:16px;

height:22px;font-size:12px;

}
#bottomNav {
z-index:999;
position:fixed;
bottom:0;
/*for ie*/
width:960px;
_position:absolute;
_top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight);
overflow:visible;
margin:auto;
left:100%;
margin-left:-480px;
}
ul{margin:0; padding:0;}
.clears{clear:both;}
#tit{width:400px;}
   #tit ul li{display:block; line-height:25px; padding:0 5px;  float:right; font-size:12px; 
   #tit ul li div{margin:5px 5px;}
cursor:pointer; margin-right:0px;}
.bgs{border:1px solid #77a;border-left:0px; background-color:#eee;padding:5px;}
.bgs a    {color:#555; text-decoration:none;}
.bgs a:hover    {color:#933; text-decoration:underline;  }
.lb{border-left:1px solid #77a;}
#ln{position:relative; height:1px;border-bottom:1px solid #77a; bottom:-1px; z-index:-1;width:305px;margin:-2px 0px 0px 0px;}
.on {border-top:0px;background-color:#B0C4DE;}
#cont{font-size:14px; border:1px solid #77a;border-bottom:0px; width:398px;background-color:#B0C4DE;line-height:25px;}
</style>
<script type="text/javascript">
    function del(obj) {
    var msg = "确认办结?";
        if (confirm(msg)==true){
            var pid;    
            pid=$(obj).attr('id').toString().substring(3);
    $.ajax({
        type: "get",
        url: "/plan_tools/del.asp",
        data:{dpid:pid},
        dataType: "text json",
        contentType: "application/json; charset=gb2312",
        success: function (data) {
        
        alert("成功办结!");
        document.getElementById("addNew").innerHTML="<a href='javascript:'>您有&nbsp;<font color=red>"+eval("("+data+")").result+"</font>&nbsp;条待办事宜</a>"
        if(eval("("+data+")").result=="0") document.getElementById('cons').innerHTML='<center><b>没有待办事宜</b></center>';
        $("#addNew").click();
        },
        error: function(XMLHttpRequest, textStatus, errorThrown) {
                        alert(XMLHttpRequest.status);
                        alert(XMLHttpRequest.readyState);
                        alert(textStatus);
                    },
        });
        
        }else{
            return false;
        }
    }
$(document).ready(function(){
   var $tit=$("#tit ul li"); 
   var $cont=$("#cont > di