我们最近做的项网站发布后在ie7下能打开,但是ie6一打开就死了,我想问问这是css的问题还是DIV的问题?具体怎么解决?以下是我们的首页CSS代码和网站导航的JS代码:
网站导航的JS文件:
//声明全局变量
window.isshow = 2;
window.getHeight = 0;
window.browserVersion = "";
submenuHidden(4);
function menuOver(id){
$("#menuItem"+id).css("background","url('images/menu"+id+"Hover.jpg')");
if(window.isshow==2|window.isshow==4|window.isshow==7|window.isshow ==3){
submenuHidden(window.isshow);
}
if(id==2|id==4|id==7|id==3){
submenuShow(id);
window.isshow =id;
}
//menuIe6Arr = ["80px","140px","260px","340px","350px"];
//menuIe7Arr = ["160px","180px","400px","620px","650px"];
//menuFfArr = ["120px","200px","400px","620px","650px"];
menuIe6Arr = ["80px","200px","260px","340px","350px","120px"];
menuIe7Arr = ["160px","400px","500px","720px","650px","250px"];
menuFfArr = ["120px","270px","400px","720px","650px","160px"];
getVersion();
// if(window.browserVersion == 6.0){
// navArr = menuIe6Arr;
// }
// else if(window.browserVersion == 7.0){
// navArr = menuIe7Arr;
// }
// else{
navArr = menuFfArr;
// }
if(id==2){document.getElementById("subMenuItem2").style.marginLeft = navArr[0];}
else if(id==4){document.getElementById("subMenuItem4").style.marginLeft = navArr[1];}
//else if(id==5){document.getElementById("subMenuItem5").style.marginLeft = navArr[2];}
else if(id==7){document.getElementById("subMenuItem7").style.marginLeft = navArr[3];}
//else if(id==6){document.getElementById("subMenuItem6").style.marginLeft = navArr[4];}
else if(id==3){document.getElementById("subMenuItem3").style.marginLeft = navArr[5];}
/*
if(id==2){document.getElementById("subMenuItem2").style.marginLeft = "160px";}
else if(id==4){document.getElementById("subMenuItem4").style.marginLeft = "280px";}
else if(id==5){document.getElementById("subMenuItem5").style.marginLeft = "520px";}
else if(id==7){document.getElementById("subMenuItem7").style.marginLeft = "680px";}
else if(id==8){document.getElementById("subMenuItem8").style.marginLeft = "690px";}
*/
}
function menuOut(id){
document.getElementById("menuItem"+id).style.background = "url('images/menu"+id+".jpg')";
//$(document).bind("click",submenuHidden(2));
/*if(id==2|id==4|id==5|id==7|id==8){
//$("#subMenu").blur( function () { alert("Hello World!"); } );
}*/
}
function changeURL(url){
parent.frames["mainFrame"].window.location = url;
//parent.document.getElementById("main").style.height = 1800;
//alert(parent.frames["mainFrame"].window.document.body.scrollHeight);
//parent.window.location = window.location+"#"+url;
//parent.frames.style.height = parent.frames["mainFrame"].contentWindow.document.body.scrollHeight+800+"px";
//parent.frames.style.height = 1800+"px";
//alert(parent.frames["mainFrame"].document.body.scrollHeight);
//parent.window.location=url;
}
function controlParHeight(){
var mainFrameHeight = 0;
mainFrameHeight = $(document).height();
//alert(mainFrameHeight);
parent.document.getElementById("main").style.height = mainFrameHeight+430+"px";
alert(mainFrameHeight+430+"px");
}
function ctrlParHeight(){
var mainFrameHeight = 0;
mainFrameHeight = $(document).height();
parent.parent.document.getElementById("main").style.height = mainFrameHeight+430+"px";
}
function submenuHiddenTimer(){
window.clearTimeout(timer2);//clearInterval(timer1);
var timer2 = setTimeout('submenuHidden(window.isshow)',3000);
}
function submenuShow(id){
$("#subMenuItem"+id).css("display","block");
//$("#subMenuItem"+id).css("background","#FF6600");
}
function submenuHidden(id){
$("#subMenuItem"+id).css("display","none");
}
function submenuHidden2(){
$("#subMenuItem"+window.isshow).css("display","none");
}
function getVersion(){
window.browserVersion = navigator.appVersion.split(";")[1].split("MSIE")[1];
}
首页CSS文件:
/* CSS Document */
@charset "utf-8";
/* CSS Document */
body{
width:951px;
margin:0 auto;
padding:0;
border:0;
font-size:12px;
line-height:18px;
}
a {
star : expression(onfocus=this.blur);
}
a img{
border:none;
}
a:link,a:visited{
color:#666;
text-decoration:none;
}
a:hover{
color:#FF6600;
text-decoration:none;
}
#main{
padding:0;
border:0;
width:951px;
height:auto;
margin:0 auto;
/*border:#CCC solid 1px;修改*/
background:#FFF;
}
#topBar{
width:951px;
height:63px;
background:url(../images/topBarBack.jpg) repeat-x;
}
#logo{
float:left;
width:177px;
height:41px;
background:url(../images/logo.jpg) no-repeat;
margin:11px auto auto 33px;
}
#topBarRight{
float:right;
padding-top:8px;
width:198px;
height:auto;
color:#FFF;
}
.topBarRIghtLang{
background:url(../images/topArrow.jpg) no-repeat;
padding-left:15px;
line-height:28px;
}
.topBarRIghtLang a:link,.topBarRIghtLang a:visited{
color:#FFF;
}
.topBarRIghtLang a:hover{
color:#FFF;
}
#banner{
clear:both;
width:951px;
height:213px;
background:url(../images/banner.jpg) no-repeat;
}
#menu{
/* margin-top:0px;*/
margin-top:-12px;
*margin-top:0px;
width:951px;
height:38px;
background:url(../images/menuBack.jpg);
}
#menu ul{
list-style:none;
}
#menu ul li{
float:left;
width:120px;
height:38px;
cursor:pointer;
}
#menuItem1{
background:url(../images/menu1.jpg) no-repeat;
}
#menuItem2{
background:url(../images/menu2.jpg) no-repeat;
}
#menuItem3{
background:url(../images/menu3.jpg) no-repeat;
}
#menuItem4{
background:url(../images/menu4.jpg) no-repeat;
}
#menuItem5{
background:url(../images/menu5.jpg) no-repeat;
}
#menuItem6{
background:url(../images/menu6.jpg) no-repeat;
}
#menuItem7{
background:url(../images/menu7.jpg) no-repeat;
}
#menuItem8{
background:url(../images/menu8.jpg) no-repeat;
}
#contentBar{
clear:both;
width:100%;
height:24px;
background:url(../images/contentTop.jpg);
}
#subMenuContainer{
clear:both;
width:951px;
height:24px;
background:url(../images/contentTop.jpg) repeat-x;
}
#subMenu{
width:951px;
position:absolute;
z-index:12441;
height:40px;
padding-top:5px;
text-align:center;
}
#subMenu ul{
float:left;
margin-top:0px;
}
#subMenu ul li{
float:left;
font-weight:bold;
list-style:none;
width:60px;
background:url(../images/blackArrow.gif) no-repeat 3px 3px;
padding-left:15px;
padding-right:20px;
}
#subMenuItem2{
display:none;
}
#subMenuItem3{
display:none;
}
#subMenuItem4{
display:none;
}
#subMenuItem5{
display:none;
}
#subMenuItem7{
display:none;
}
#subMenuItem8{
display:none;
}
#content{
clear:both;
width:951px;
/*margin:0;*/
height:auto;
margin-top:-1px;
/*background:url(../images/contentTop.jpg) repeat-x;*/
}
#contentLeft{
float:left;
/*margin:26px 0 38px 33px;*/
margin:0 0 38px 35px;
*margin:0 0 38px 18px;
width:238px;
height:auto;
background:url(../images/contentLeftBack.jpg);
padding-bottom:14px;
}
*+html #contentLeft{
float:left;
margin:0 0 38px 32px;
width:238px;
height:auto;
background:url(../images/contentLeftBack.jpg);
padding-bottom:14px;
}
.contentLeftItem{
margin-top:17px;
margin-left:15px;
width:211px;
height:134px;
}
.contentLeftItemTitle{
width:100%;
height:33px;
}
.contentLeftItemContent{
width:207px;
height:97px;
border:#D0D0D0 solid 2px;
background:#FFF;
}
.contentLeftItemContentLeft{
margin-left:8px;
padding-top:2px;
float:left;
width:92px;
height:96px;
}
.ontentLeftItemContentLeftContent{
background:url(../images/redArrow2.jpg) no-repeat 0 9px;
padding-left:15px;
list-style-image:none;
line-height:23px;
border-bottom:#CCC dotted 1px;
}
.contentLeftItemContentLeftContentLast{
background:url(../images/redArrow2.jpg) no-repeat 0 9px;
padding-left:15px;
list-style-image:none;
line-height:23px;
border:none;
}
.contentLeftItemContentRight{
margin-top:6px;
padding-left:11px;
float:left;
width:76px;
height:85px;
}
#contentMiddle{
margin-top:0;
float:left;
width:458px;
height:auto;
}
#contentMiddleItem1{
margin:0 auto;
width:431px;
height:100px;
background:url(../images/contentMiddle1Top.jpg) repeat-x;
}
.more1{
float:inherit;
width:40px;
margin-left:380px;
margin-top:3px;
}
#contentMiddleItemContentPic{
width:180px;
height:113px;
float:left;
padding:1px;
border:#999 solid 1px;
}
#contentMiddleItemContent{
width:431px;
height:auto;
padding-top:20px;
line-height:18px;
background:url(../images/middleContent1.jpg) repeat-x -15px 0px;
}
#contentMiddleItemContentText{
padding-top:8px;
float:right;
width:230px;
color:#555;
}
.contentMiddleItem2{
clear:both;
width:431px;
padding-top:8px;
*padding-top:11px;
}
*+html .contentMiddleItem2{
clear:both;
width:431px;
padding-top:9px;
}
.contentMiddleItem{
height:31px;
line-height:31px;
border-bottom:#CCC dotted 1px;
list-style:none;
background:url(../images/redArrow.jpg) no-repeat 0px 10px;
padding-left:18px;
}
.contentMiddleItemContent{
float:left;
width:320px;
}
.contentMiddleItemTime{
float:right;
width:64px;
}
.contentMiddleItemTitle2{
margin-top:18px;
background:url(../images/contentMiddle1Top.jpg) repeat-x;
}
#contentMiddleItemTitlePic0{
width:90px;
height:29px;
background:url(../images/middleContent1Title.jpg) no-repeat;
}
#contentMiddleItemTitlePic1{
width:90px;
height:29px;
background:url(../images/middleContent2Title.jpg) no-repeat;
}
#contentMiddleItemTitlePic2{
width:90px;
height:29px;
background:url(../images/middleContent3Title.jpg) no-repeat;
}
#contentRight{
float:left;
width:238px;
margin:0 auto 38px 0px;
background:url(../images/contentRightTitleBack.jpg) repeat-x;
}
#contentRightTitle{
width:238px;
height:29px;
background:url(../images/contentRightTitle.jpg) 2px 2px no-repeat;
}
#more2{
width:37px;
height:11px;
margin:10px auto auto 190px;
}
#more3{
width:37px;
height:11px;
margin:8px auto auto 140px;
position:relative;
top:-6px;
}
#contentRightContent{
width:238px;
height:auto;
margin-top:6px;
background:url(../images/contentLeftBack.jpg);
padding-bottom:14px;
}
#contentRightBox1{
width:178px;
height:auto;
margin-top:6px;
padding:14px 17px 14px 42px;
}
.indexContentRPicItem{
width:178px;
height:auto;
background:url(../images/contentRightImg.jpg) no-repeat;
}
.index_bookItemPic2{
width:148px;
padding:2px;
padding-bottom:2px;
border:#CCC solid 1px;
height:109px;
overflow:hidden;
margin-top:2px;
margin-bottom:10px;
background:#FFF;
/*background:url("images/bookShadow.jpg") no-repeat 145px -30px;*/
}
.contentRightItem{
width:178px;
height:162px;
}
.contentRightItemText{
width:150px;
line-height:18px;
font-weight:bold;
padding-bottom:5px;
margin-top:-4px;
}
#contentRightBox2{
width:202px;
height:auto;
margin:0 auto;
border:#CCC solid 2px;
background-color:#FFF;
background-image:url(../images/contentRightBoxTitle.jpg);
background-repeat:no-repeat;
background-position:4px 4px;
padding-top:10px;
}
*+html #contentRightBox2{
width:202px;
height:auto;
margin:0 auto;
border:#CCC solid 2px;
background-color:#FFF;
background-image:url(../images/contentRightBoxTitle.jpg);
background-repeat:no-repeat;
background-position:4px 4px;
padding-top:8px;
}
.contentRightBox2Item{
width:176px;
/*height:26px;*/
margin-left:5px;
padding-left:10px;
height:28px;
line-height:28px;
border-top:#CCC dotted 1px;
background:url(../images/contentRightBlock.jpg) no-repeat 0px 6px;
}
*+html .contentRightBox2Item{
width:176px;
margin-left:5px;
padding-left:10px;
height:26px;
line-height:26px;
border-top:#CCC dotted 1px;
background:url(../images/contentRightBlock.jpg) no-repeat 0px 6px;
}
#footer{
clear:both;
width:951px;
height:76px;
background:#AE0001;
color:#FFF;
text-align:center;
padding-top:15px;
line-height:26px;
margin-top:-6px;
*margin-top:-2px;
}
*+html #footer{
clear:both;
width:951px;
height:76px;
background:#AE0001;
color:#FFF;
text-align:center;
padding-top:15px;
line-height:26px;
margin-top:-6px;
}
/***********************************以上为首页的CSS****************************************/
#second_content{/*******二级页面的主框架*******/
margin-left:18px;
width:765px;
height:auto;
}
#second_title {/*******二级页面的标题部分*******/
width:728px;
height:25px;
border-bottom:2px solid #E0DFE4;
/*background:url(../images/secondKernalBussinessTitleBack.jpg) repeat-x;*/
margin-top:10px;
margin-bottom:25px;
}
#second_TitleBlack{/*******二级页面的标题部分*******/
height:25px;
line-height:25px;
padding-right:5px;
color:#434343;
position:absolute;
text-align:left;
border-bottom:2px solid #6E6E6E;
/*background:url(../images/titleBlack.jpg) repeat-x;*/
font-size:16px;
font-weight:bold;
font-family:"微软雅黑","黑体";
}
/***********************************以上为二级页面公共部分的CSS****************************************/
.contentItem{
width:688px;
height:30px;
line-height:30px;
padding-left:40px;
border-bottom:#CCC dotted 1px;
background:url(../images/redArrow.jpg) no-repeat 12px 10px;
font-size:12px;
}
.contentItemLeft{
float:left;
padding-right:30px;
width:570px;
height:30px;
overflow:hidden;
}
/***********************************以上为二级页面列表的CSS****************************************/
.print{/*打印按钮*/
float:left;
width:40px;
background:url(../images/print.jpg) no-repeat;
padding-left:20px;
font-size:12px;
}
.favorite{/*加入收藏按钮*/
float:left;
width:40px;
background:url(../images/favorite.jpg) no-repeat;
padding-left:20px;
font-size:12px;
}
.buttons{/*按钮组*/
width:688px;
margin-left:40px;
margin-top:20px;
padding-top:10px;
border-top:#CCC dotted 1px;
text-align:right;
}
.recButtonSelect{/*灰色圆角矩形按钮选择状态*/
width:93px;
height:23px;
background:url(../images/rectButton2.jpg) no-repeat;
border:none;
color:#000;
font-weight:bold;
margin:0 20px;
cursor:pointer;
line-height:23px;
}
.recButton{/*灰色圆角矩形按钮选择状态*/
width:93px;
height:23px;
background:url(../images/rectButton.jpg) no-repeat;
border:none;
color:#FFF;
font-weight:bold;
margin:0 20px;
cursor:pointer;
line-height:23px;
}
.page{
float:right;
margin-right:20px;
margin-top:20px;
}
.page a:hover{
color:#AE0002;
font-weight:bold;
text-decoration:none;
}
.page div{
float:left;
padding-left:10px;
}
.prePage{
float:right;
width:50px;
padding-left:10px;
background:url(../images/prePage.jpg) no-repeat 0 4px;
}
.nextPage{
float:right;
width:65px;
text-align:left;
background:url(../images/nextPage.jpg) no-repeat 55px 4px;
}
.pageText a:hover{
color:#AE0002;
font-weight:bold;
text-decoration:none;
}
.pageNum{
width:10px;
}
/***********************************以上为二级页面底部按钮CSS****************************************/
.second_contentBar{/*分割条CSS*/
width:660px;
height:30px;
line-height:20px;
background:url(../images/seconddevelopmentResearchBar.jpg) no-repeat ;
color:#AD0002;
font-weight:bold;
margin-top:10px;
margin-left:12px;
}
.second_contentBar2{/*分割条CSS*/
width:660px;
height:30px;
line-height:20px;
background:url(../images/seconddevelopmentResearchBar.jpg) no-repeat;
color:#AD0002;
font-weight:bold;
font-size:12px;
margin-top:10px;
}
#newsTitle{/*新闻页的标题*/
width:728px;
height:20px;
text-align:center;
color:#AD0002;
font-weight:bold;
font-size:14px;
margin-top:22px;
padding-bottom:5px;
border-bottom:#EEE dotted 1px;
}
#newsDescrption2{/*新闻页的描述*/
width:728px;
height:20px;
text-align:center;
font-size:12px;
color:#666;
font-weight:bold;
padding-top:5px;
margin-bottom:10px;
}
/***********************************以上为二级页面底部按钮CSS****************************************/
#second_main{
width:951px;
height:auto;
padding-bottom:24px;
}
#second_left{
float:left;
width:220px;
}
#second_right{
float:left;
width:763px;
padding-left:20px;
}
#second_contentLeft{
float:right;
width:185px;
height:auto;
background:url(../images/contentLeftBack.jpg);
padding-bottom:14px;
}
*+html #second_contentLeft{
float:left;
width:185px;
height:auto;
background:url(../images/contentLeftBack.jpg);
padding-bottom:14px;
}
.second_contentLeftItem{
margin-top:17px;
margin-left:15px;
width:184;
height:auto;
}
.second_contentLeftItemTitle{
width:100%;
height:33px;
}
.second_contentLeftItemContent{
clear:both;
width:152px;
height:auto;
border:#D0D0D0 solid 2px;
background:#FFF;
padding-top:4px;
padding-bottom:4px;
}
.second_contentLeftItemContentLeftContent{
margin-left:5px;
background:url(../images/redArrow2.jpg) no-repeat 0 9px;
width:130px;
padding-left:12px;
list-style-image:none;
line-height:28px;
border-bottom:#CCC dotted 1px;
overflow:hidden;
}
.second_contentLeftItemContentLeftContentLast{
margin-left:5px;
background:url(../images/redArrow2.jpg) no-repeat 0 9px;
width:130px;
padding-left:12px;
list-style-image:none;
line-height:28px;
border:none;
overflow:hidden;
}
/***********************************以上为二级页面侧边栏CSS****************************************/
#newsDescrption{
width:700px;
height:20px;
font-size:12px;
font-weight:bold;
padding-top:10px;
padding-left:28px;
padding-bottom:20px;
margin-bottom:10px;
border-bottom:#CCC dotted 1px;
background:url(../images/nextPage.jpg) no-repeat 160px 14px;
}
/************************************以上为公司动态的CSS*******************************************/
#books{
clear:both;
width:588px;
height:auto;
padding-left:60px;
padding-right:60px;
padding-bottom:10px;
margin-bottom:10px;
/*border-bottom:#CCC dotted 1px;*/
}
.bookItem{
float:left;
width:300px;
height:180px;
margin:10px 15px;
margin-left:20px;
overflow:hidden;
}
.bookPic{
float:left;
width:117px;
height:140px;
/*border:#CCC solid 2px;*/
}
.bookText{
float:left;
height:auto;
margin-left:10px;
}
*+html .bookText{
float:left;
height:auto;
margin-left:20px;
}
.bookText div{
line-height:18px;
}
.bookTextTitle{
font-weight:bold;
line-height:20px;
padding-bottom:10px;
}
/************************************以上为精品书籍列表页的CSS*******************************************/
#cases{
clear:both;
width:600px;
height:auto;
margin:20px auto;
}
.caseItem{
float:left;
width:146px;
margin:0 20px;
}
.caseListItem{
width:146px;
height:150px;
background:url(../images/bookShadow.jpg) no-repeat right;
}
.caseTitle{
width:120px;
height:auto;
background:url(../images/topRedArrow.jpg) no-repeat 70px 6px;
color:#AE0002;
text-align:center;
padding-top:10px;
line-height:20px;
}
.caseTitle a:link,.caseTitle a:visited{
color:#AE0002;
font-size:12px;
}
/************************************以上为典型案例列表页的CSS*******************************************/
.news_contentItem{
width:660px;
line-height:18px;
padding-left:40px;
font-size:12px;
text-indent:2em;
}
#newsContent{
width:660px;
margin-left:30px;
color:#333333;
line-height:30px;
}
#newsContent2{
width:660px;
margin-left:5px;
text-indent:2em;
font-size:12px;
line-height:20px;
}
/************************************以上为详细新闻页的CSS*******************************************/
.contactus_contentItem{
width:660px;
line-height:18px;
padding-left:40px;
font-size:12px;
}
.contactus_contentItem2{
width:620px;
margin-left:60px;
margin-top:30px;
}
.contactus_contentItem2 a{
float:left;
width:100px;
}
.contactus_contentItem2 a:link,.contactus_contentItem2 a:visited{
color:#AD0001;
text-decoration:underline;
}
.contactus_contentItem2 a:hover{
color:#AD0001;
text-decoration:none;
}
#contactus_contentPic{
width:578px;
height:142px;
border:#999 solid 3px;
margin:20px;
}
#contactus_contentText{
width:578px;
margin-left:20px;
}
#contactus_content{
margin-left:18px;
width:765px;
height:auto;
}
/************************************以上为联系我们页的CSS*******************************************/
#ERPicture{
width:680px;
height:auto;
margin:30px auto auto 30px;
}
#contentText{
width:578px;
margin-left:20px;
line-height:26px;
}
#contentText em{
color:#AD0001;
font-weight:bold;
margin-top:10px;
font-style:normal;
}
/************************************以上为企业文化页的CSS*******************************************/
.expertListItem{
width:728px;
height:134px;
border-bottom:#DDD dotted 1px;
padding-top:20px;
padding-bottom:20px;
}
.expertIntro{
float:left;
width:540px;
height:auto;
margin-left:20px;
}
.expertName{
color:#AD0002;
font-style:normal;
font-weight:bold;
}
.expertText{
margin-top:10px;
text-indent:2em;
color:#444;
line-height:16px;
}
.expertPhoto{
float:left;
width:112px;
height:134px;
padding-left:10px;
}
/************************************以上为专家团队页的CSS*******************************************/
#delicacybookPic{
float:left;
width:93px;
margin-top:10px;
margin-left:30px;
*margin-right:0px;
}
*+html #delicacybookPic{
float:left;
margin-top:10px;
margin-left:60px;
margin-right:40px;
}
#delicacybookInfo{
float:left;
width:380px;
height:auto;
margin-top:14px;
}
#delicacybookInfo pre{
float:left;
width:100px;
white-space:pre;
text-indent:0;
}
#delicacybookInfo table{
width:100%;
height:100%;
}
.delicacybookInfoTitle{
width:70px;
}
/************************************以上为精品书籍页的CSS*******************************************/
#development_describtion{
margin:30px auto;
text-indent:2em;
font-size:12px;
color:#666;
line-height:18px;
}
.development_describtionText{
float:left;
padding-left:50px;
padding-right:50px;
width:360px;
}
.development_describtionPic{
float:left;
width:200px;
color:#AE0002;
line-height:20px;
padding-bottom:20px;
}
#form_contentTitle{
width:660px;
text-align:center;
margin-left:40px;
font-weight:bold;
color:#666;
padding-bottom:5px;
border-bottom:#CCC dotted 1px;
margin-bottom:10px;
}
.form_contentItem{
width:650px;
margin-left:40px;
line-height:30px;
}
.contentItem div em{
color:#AD0002;
font-size:12px;
font-style:normal;
}
#messagePost{
width:660px;
margin-left:40px;
}
#messagePost table{
width:100%;
border:none;
}
.messagePostLeft{
width:50px;
padding-bottom:10px;
padding-top:8px;
}
.messagePostRight span{
width:auto;
float:left;
margin-right:10px;
}
#messagePostTextBox{
width:100%;
height:100px;
}
#messageCode{
width:60px;
height:16px;
}
#messageSubmit{
width:83px;
height:20px;
background:url(../images/messagePost.jpg) no-repeat;
border:none;
cursor:pointer;
}
/************************************以上为富达尔论坛页的CSS*******************************************/
#describtion{
padding-top:30px;
padding-bottom:30px;
padding-left:90px;
padding-right:90px;
width:550px;
font-family:楷体_GB2312;
text-indent:2em;
color:#666;
line-height:18px;
border-bottom:#999 dotted 1px;
}
/************************************以上为富达尔论坛页的CSS*******************************************/
#president{
width:177px;
height:auto;
float:left;
}
#presidentPic{
width:177px;
height:241px;
border:#CCC solid 3px;
}
#presidentName{
width:177px;
color:#AD0001;
font-size:13px;
text-align:center;
line-height:20px;
}
#words{
float:left;
width:390px;
margin-left:20px;
text-indent:2em;
line-height:20px;
}
/************************************以上为总裁致辞页的CSS*******************************************/
.kernal_contentItem{
width:728px;
height:150px;
border-top:#CCC dotted 1px;
}
.kernal_contentPic{
float:left;
margin-top:20px;
width:145px;
}
.kernal_contentText{
margin-left:16px;
padding-top:32px;
float:left;
width:540px;
font-size:12px;
font-style:normal;
}
.kernal_contentTextTitle{
font-weight:bold;
margin-bottom:6px;
}
.kernal_contentTextContent{
font-size:12px;
font-style:normal;
line-height:14px;
text-indent:2em;
}
/************************************以上为核心优势页的CSS*******************************************/
.advantage_contentItem{
/*width:728px;*/
width:650px;
height:150px;
padding:40px;
padding-top:0;
}
.advantage_contentItemTitle{
margin-top:20px;
font-size:12px;
color:#AE0002;
font-weight:bold;
}
.advantage_contentItemContent{
margin-top:5px;
font-size:12px;
font-weight:normal;
line-height:18px;
text-indent:2em;
}
/************************************以上为组织优势页的CSS*******************************************/
.qulity_contentItem{
width:660px;
line-height:18px;
padding-left:40px;
line-height:30px
}
#qulity_contentPic{
width:615px;
height:140px;
border:#999 solid 3px;
margin:20px;
}
#qulity_contentText{
width:625px;
margin-left:20px;
text-indent:2em;
}
#qulity_contentText div{
color:#AD0001;
font-weight:bold;
margin-top:10px;
}
/************************************以上为品质控制页的CSS*******************************************/
#advisor_newsDescrption{
width:700px;
height:20px;
font-size:12px;
font-weight:bold;
padding-top:10px;
padding-left:28px;
padding-bottom:20px;
margin-bottom:10px;
border-bottom:#CCC dotted 1px;
background:url(../images/nextPage.jpg) no-repeat 160px 14px;
}
.advisor_expertListItem{
float:left;
width:328px;
height:110px;
border-bottom:#DDD dotted 1px;
padding-top:20px;
padding-bottom:20px;
margin-right:30px;
}
.advisor_expertIntro{
float:left;
width:205px;
height:auto;
/*padding-right:10px;*/
margin-left:10px;
}
.advisor_expertName{
color:#AD0002;
font-style:normal;
font-weight:bold;
}
.advisor_expertText{
margin-top:10px;
text-indent:2em;
color:#444;
line-height:20px;
}
.advisor_expertPhoto{
float:left;
width:85px;
height:100px;
padding:2px;
border:#CCC solid 1px;
}
/************************************以上为高级顾问页的CSS*******************************************/
#specialCase_bookInfoBox{
width:550px;
height:144px;
border:#CCC solid 1px;
background:url(../images/bookinfoBack.jpg) repeat-x;
margin:0 auto;
}
#specialCase_bookPic{
float:left;
width:96px;
border:#CCC solid 1px;
margin:14px 18px auto 14px;
}
#specialCase_bookInfo{
float:left;
width:320px;
margin-top:5px;
margin-left:10px;
height:130px;
white-space:nowrap;
overflow:hidden;
}
#specialCase_bookInfo div{
margin-top:10px;
}
#specialCase_bookInfo div em{
font-style:normal;
font-weight:bold;
}
/************************************以上为典型案例页的CSS*******************************************/
.index_bookItem{
width:213px;
height:235px;
padding-top:20px;
float:left;
padding-left:30px;
border-bottom:1px #ccc dotted;
overflow:hidden;
}
.index_bookItemPic{
overflow:hidden;
margin:0px 15px;
}
.index_bookTitle{
width:120px;
margin:10px 15px;
text-align:center;
}
/************************************以上为首页典型案例的CSS*******************************************/
/*.page{
float:right;
margin-right:20px;
margin-top:20px;
}
.page a:hover{
color:#AE0002;
font-weight:bold;
text-decoration:none;
}
.page div{
float:left;
padding-left:10px;
}
.prePage{
width:50px;
padding-left:10px;
background:url(../images/prePage.jpg) no-repeat;
}
.nextPage{
width:55px;
background:url(../images/nextPage.jpg) no-repeat 55px 0px;
}
.pageText a:hover{
color:#AE0002;
font-weight:bold;
text-decoration:none;
}
.pageNum{
width:10px;
}*/
.newsButtons{/*按钮组*/
width:720px;
margin-top:20px;
padding-top:10px;
border-top:#CCC dotted 1px;
text-align:right;
}
#index_bookListItem{
float:left;
width:96px;
height:96px;
margin-left:10px;
margin-top:40px;
overflow:hidden;
}
#t_content p{
/*width:680px;*/
margin:0 auto;
}
#bookInfoBox{
width:600px;
height:144px;
border:#CCC solid 1px;
background:url(../images/bookinfoBack.jpg) repeat-x;
margin:0 auto;
}
#bookInfoBox2{
width:600px;
height:164px;
padding-top:20px;
border:#CCC solid 1px;
background:url(../images/bookinfoBack2.jpg);
margin:0 auto;
line-height:20px;
}
#t_content{
color:#333;
}
/*#t_title{
border-bottom:2px solid rgb(224, 223, 228);
width: 728px;
height: 25px;
margin-top: 10px;
margin-bottom: 25px;
}
#t_title div{
border-bottom: 2px solid rgb(110, 110, 110);
font-family: '微软雅黑','黑体';
font-weight:bold;
font-size: 16px;
color: rgb(67, 67, 67);
position: absolute;
margin-top: 0px;
padding-right: 5px;
text-align: left;
line-height: 25px;
}*/
/*站内导航*/
#webmap{ width:420px; height:auto; padding:25px; margin:0 auto;}
#webmap ul{ margin:0; padding:0; float:left;}
#webmap ul li{ list-style:none; line-height:22px; color:#999;}
#webmap ul li a{ text-decoration: none;letter-spacing: 1px;}
#webmap ul li a:hover{ color:#f90;}
.jt{ background:url(/inc/img/webmap/arrow_r.gif) 0 2px no-repeat; color:#36f; font-weight:bold;padding-left:10px;}
.yl{ background:url(/inc/img/webmap/jj.gif) 5px no-repeat; color:#39f; padding: 7px 0 0 35px;}
.el{ background:url(/inc/img/webmap/tree_line1-1.gif) 20px no-repeat;color:#999; padding-left:43px;}
.ys{ color:#999;}
浏览器版本兼容而引起的吧.
应该跟浏览器版本兼容性有关。建议使用httpwatch或者fidder看看你的主页加载哪步出了问题。
或者你把完整的模拟问题的代码上传上来看看。