新手下了个网站,CSS在IE6下显示正常,其他都显示不正常,求高手帮忙改一下,万分感激!

gzhuu 2012-06-02 12:32:47
CSS内容如下

body {text-align:center; margin:0px; background-color:#FFFFFF; font-family:Arial; font-size:12px; color:#FFFFFF;}
body > div {text-align:center; margin-right:auto; margin-left:auto;}
form, input, select{margin:0px; padding:0px; font-family:Verdana;}
img,a img {border-width:0}
table{ font-size:12px; display:compact}
.fl{float:left;}
.fr{float:right;}
.dis{display:inline;}
.tal{text-align:left;}
.tac{text-align:center;}
.tar{text-align:right;}
.clb{clear:both;}
.fwb{font-weight:bold;}
.tdu{text-decoration:underline;}

/* Link CSS */
A:link, A:visited, A:active {color:#000000; text-decoration:none;}
A:hover {color:#FF6600; text-decoration:underline;}

/* Header CSS */
.HeaderLine{border-bottom:1px solid #CECFCE; background-color:#F7F3F7; color:#00307B;}
.HeaderLine a:link, .HeaderLine a:visited, .HeaderLine a:active{color:#00307B; text-decoration:none;}
.HeaderLine a:hover{color:#EF6918; text-decoration:underline;}


/* Menu CSS */
.Menu span{color:#FFFFFF; background:url(../Images/Menu_02.jpg) no-repeat; font-weight:bold; font-size:14px; padding:8px 15px 6px 15px; line-height:30px;}
.Menu a:link, .Menu a:visited, .Menu a:active{color:#333333; text-decoration:none; background:url(../Images/Menu_01.jpg) no-repeat; padding:12px 21px 4px 21px; line-height:25px;}
.Menu a:hover{color:#FFFFFF; text-decoration:none; background:url(../Images/Menu_02.jpg) no-repeat; font-weight:bold; font-size:14px; padding:8px 15px 6px 15px; line-height:30px;}
.Menuother a:link, .Menuother a:visited, .Menuother a:active{color:#333333; text-decoration:none; background:url(../Images/Menu_01.jpg) no-repeat; padding:10px 15px 4px 16px; line-height:25px;}
.Menuother a:hover{color:#FFFFFF; text-decoration:none; background:url(../Images/Menu_02.jpg) no-repeat; font-weight:bold; font-size:14px; padding:7px 8px 6px 8px; line-height:30px;}
.Menuother span{color:#FFFFFF; background:url(../Images/Menu_02.jpg) no-repeat; font-weight:bold; font-size:14px; padding:7px 8px 6px 8px; line-height:30px;}

.Login{text-align:left; color:#AD4100; line-height:25px;}
.Login span{color:#FFFFFF;}
.Login input{width:103px; height:18px; border:1px solid #D67B00; background-color:#FFFFFF; color:#AD4100; padding-left:5px;}
.Login a:link, .Login a:visited, .Login a:active{color:#AD4100; text-decoration:underline;}
.Login a:hover{color:#FFFFFF; text-decoration:none; font-weight:bold;}

/* Color CSS */
.cl333333{color:#333333;}
.clFF6600{color:#FF6600;}

.fs14{font-size:14px;}

/* margin & Padding & line-height CSS */
.mt3{margin-top:3px;}
.mt5{margin-top:5px;}
.mt10{margin-top:10px;}
.mt15{margin-top:15px;}
.mt20{margin-top:20px;}
.mtb10{margin:10px 0px;}
/* other CSS */
.BgEFF3FF{background-color:#EFF3FF;}


/* Part1 CSS */
.IPart1{margin-top:10px; color:#FF6600; text-align:left;}
.IPart1 a:link, .IPart1 a:visited, .IPart1 a:active{color:#00307B; text-decoration:underline;}
.IPart1 a:hover{color:#FF6600; text-decoration:none;}
.IPartTitle{font-weight:bold; padding-top:5px;}
.IPartTitle1{font-weight:bold; padding-top:3px;}
.IPartBorder{border:1px solid #FFB600;}
.IPartBorderB{border-bottom:1px solid #FFB600;}
.IPartText{color:#00307B; line-height:25px; text-align:center; margin-top:5px;}
.IPartSo{margin-top:10px;}
.IPartSo input{width:155px; height:20px; border:1px solid #C6C6C6; line-height:20px; font-family:Arial; font-size:12px; color:#666666; padding-left:5px;}
.IPart1SortList{color:#003CCE; line-height:20px; margin-top:3px;}
.IPart1SortList span{ font-weight:bold; font-size:14px;}
.IPart1SortList a:link, .IPart1SortList a:visited, .IPart1SortList a:active{color:#003CCE; text-decoration:none;}
.IPart1SortList a:hover{color:#FF6600; text-decoration:underline;}

.IPart1Tbg{background:url(../Images/IPart1_Title_bg.jpg) repeat-x left top;}
.IPart1Tleft{background:url(../Images/IPart1_Title_Left.jpg) no-repeat;}
.IPart1Tright{background:url(../Images/IPart1_Title_Right.jpg) no-repeat;}
.IPart1Ticon{background:url(../Images/IPart1_Title_Icon_01.jpg) no-repeat center center;}
.IPart1Ticon2{background:url(../Images/IPart1_Title_Icon_02.jpg) no-repeat center center;}
.IPart1Ticon3{background:url(../Images/IPart1_Title_Icon_04.jpg) no-repeat center center;}

.IPart1Link14 {font-size:14px; font-weight:bold;}
.IPart1Link16 {font-size:16px; font-weight:bold; border-bottom:1px solid #A2A2A2; text-align:center;}
.IPart1Link14 a:link, .IPart1Link14 a:visited, .IPart1Link14 a:active, .IPart1Link16 a:link, .IPart1Link16 a:visited, .IPart1Link16 a:active{color:#FF6500; text-decoration:none;}
.IPart1Link14 a:hover, .IPart1Link16 a:hover{color:#00307B; text-decoration:underline;}

.IPart1List1 a:link, .IPart1List1 a:visited, .IPart1List1 a:active{color:#00307B; text-decoration:none;}
.IPart1List1 a:hover{color:#FF6600; text-decoration:underline;}

/* Part2 CSS */
.IPart2{margin-top:10px; color:#37A413; text-align:left;}
.IPart2 a:link, .IPart2 a:visited, .IPart2 a:active{color:#003CCE; text-decoration:none;}
.IPart2 a:hover{color:#FF6600; text-decoration:underline;}
.IPart2Box{margin-top:15px; background:url(../Images/IPart2_Box_bg_r.jpg) no-repeat top right; background-color:#52BE00;}
.IPart2Border{border:1px solid #BCE182;}
.IPart2Tbg{background:url(../Images/IPart2_Title_bg.jpg) repeat-x left bottom;}
.IPart2Tleft{background:url(../Images/IPart2_Title_Left.jpg) no-repeat left bottom;}
.IPart2Tright{background:url(../Images/IPart2_Title_Right.jpg) no-repeat right bottom;}
.IPart2Ticon{background:url(../Images/IPart2_Title_Icon_01.jpg) no-repeat center bottom;}
.IPart2Title{font-weight:bold; padding:3px 0px 0px 5px;}
.IPart2Title2{font-weight:bold; text-align:center; padding-top:5px; color:#FFFFFF; font-size:14px; background:url(../Images/IPart2_Title_Icon_02.jpg) no-repeat;}
.IPart2Imglist {line-height:25px; text-align:center; margin-top:5px;}
.IPart2Imglist img{border:1px solid #BCE182;}
.IPart2link1 {padding-top:5px;}
.IPart2link1 a:link, .IPart2link1 a:visited, .IPart2link1 a:active{color:#0073F4; text-decoration:none;}
.IPart2link1 a:hover{color:#FF6600; text-decoration:underline; font-weight:bold;}

/* Part3 CSS */
.IPart3{margin-top:10px; color:#FF0073; text-align:left;}
.IPart3 a:link, .IPart3 a:visited, .IPart3 a:active{color:#003CCE; text-decoration:none;}
.IPart3 a:hover{color:#FF0073; text-decoration:underline;}
.IPart3Box{margin-top:15px; background:url(../Images/IPart3_Box_bg_r.jpg) no-repeat top right; background-color:#F70084;}
.IPart3Border{border:1px solid #FFC7DE;}
.IPart3Tbg{background:url(../Images/IPart3_Title_bg.jpg) repeat-x left bottom;}
.IPart3Tleft{background:url(../Images/IPart3_Title_Left.jpg) no-repeat left bottom;}
.IPart3Tright{background:url(../Images/IPart3_Title_Right.jpg) no-repeat right bottom;}
.IPart3Ticon{background:url(../Images/IPart3_Title_Icon_01.jpg) no-repeat center bottom;}
.IPart3Title{font-weight:bold; padding:3px 0px 0px 5px;}
.IPart3Title2{font-weight:bold; text-align:center; padding-top:5px; color:#FFFFFF; font-size:14px; background:url(../Images/IPart3_Title_Icon_02.jpg) no-repeat;}
.IPart3gl{background-color:#FFF7FC; text-align:center; line-height:24px;}
.IPart3gl a:link, .IPart3gl a:visited, .IPart3gl a:active{color:#FF0073; text-decoration:none;}
.IPart3gl a:hover{color:#EE00FF; text-decoration:underline;}
.IPart3Imglist {line-height:25px; text-align:center; margin-top:5px;}
.IPart3Imglist img{border:1px solid #F74DAD;}

/* Part4 CSS */
.IPart4{margin-top:10px; color:#FF6600; text-align:left;}
.IPart4 a:link, .IPart4 a:visited, .IPart4 a:active{color:#003CCE; text-decoration:none;}
.IPart4 a:hover{color:#FF6600; text-decoration:underline;}
.IPart4Box{margin-top:15px; background:url(../Images/IPart4_Box_bg_r.jpg) no-repeat top right; background-color:#FFBB00;}
.IPart4Border{border:1px solid #FFDD7F;}
.IPart4Tbg{background:url(../Images/IPart4_Title_bg.jpg) repeat-x left bottom;}
.IPart4Tleft{background:url(../Images/IPart4_Title_Left.jpg) no-repeat left bottom;}
.IPart4Tright{background:url(../Images/IPart4_Title_Right.jpg) no-repeat right bottom;}
.IPart4Ticon{background:url(../Images/IPart4_Title_Icon_01.jpg) no-repeat center bottom;}
.IPart4Title{font-weight:bold; padding:3px 0px 0px 5px;}
.IPart4Title2{font-weight:bold; text-align:center; padding-top:5px; color:#FFFFFF; font-size:14px; background:url(../Images/IPart4_Title_Icon_02.jpg) no-repeat;}

/* Footer CSS */
.FootMenu{margin-top:15px; border:1px solid #FFB600; color:#FF6500; text-align:center;}
.FootMenu a:link, .FootMenu a:visited, .FootMenu a:active{color:#FF6500; text-decoration:underline;}
.FootMenu a:hover{color:#00307B; text-decoration:none; font-weight:bold;}
.Foot{margin-top:15px; color:#626262; text-align:center;}
.Foot a:link, .Foot a:visited, .Foot a:active{color:#626262; text-decoration:none;}
.Foot a:hover{color:#FF6600; text-decoration:underline;}
...全文
750 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
弘毅致远 2012-06-05
  • 打赏
  • 举报
回复
楼主只贴了CSS怎么看得出来什么问题,要把html也贴出来啊。
gilper 2012-06-02
  • 打赏
  • 举报
回复
没注释的话看起来吃力 呵呵
我觉得一般最好写的时候用FF或者CHROME写
然后再针对IE低版本修改比较好
001007009 2012-06-02
  • 打赏
  • 举报
回复
楼主 这代码没法看。

把demo整理精简下贴出来吧,截图。。。

61,112

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧