求救!!如何让这段CSS支持IE浏览器!

jimiddr 2013-03-29 12:04:53
ul.accordion{
list-style: none;
position: absolute;
right: 80px;
top: 0px;
font-family: "Arial Black", Gadget, sans-serif;
font-size: 16px;
font-style: normal;
line-height: 1.5em;
}
ul.accordion li{
float:right;
width:115px;
height:480px;
display:block;
border-right:2px solid #fff;
border-bottom:2px solid #fff;
background-color:#fff;
background-repeat:no-repeat;
background-position:center;
position:relative;
overflow:hidden;
cursor:pointer;
-moz-box-shadow:1px 3px 15px #555;
-webkit-box-shadow:1px 3px 15px #555;
box-shadow:1px 3px 15px #555;
}
ul.accordion li.bg1{
background-image:url(../images/1.jpg);
}
ul.accordion li.bg2{
background-image:url(../images/2.jpg);
}
ul.accordion li.bg3{
background-image:url(../images/3.jpg);
}
ul.accordion li.bg4{
background-image:url(../images/4.jpg);
}
ul.accordion li.bleft{
border-left: 2px solid #fff;
background-position: center\9;
}
ul.accordion li .heading{
background-color: #fff;
padding: 10px;
margin-top: 60px;
opacity: 0.9;
text-transform: uppercase;
font-style: normal;
font-weight: normal;
letter-spacing: 1px;
font-size: 14px;
color: #444;
text-align: center;
text-shadow: -1px -1px 1px #ccc;
}
ul.accordion li .description{
position: absolute;
width: 700px;
height: 175px;
bottom: 0px;
left: 0px;
display: none;
}
ul.accordion li .description h2{
text-transform:uppercase;
font-style:normal;
font-weight:bold;
letter-spacing:1px;
font-size:45px;
color:#444;
text-align:left;
margin:0px 0px 15px 20px;
text-shadow:-1px -1px 1px #ccc;
}
ul.accordion li .description p{
line-height: 14px;
margin: 10px 22px;
font-family: "Trebuchet MS", sans-serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
text-transform: none;
letter-spacing: normal;
line-height: 1.6em;
}
ul.accordion li .description a{
position:absolute;
bottom:5px;
left:20px;
text-transform:uppercase;
font-style:normal;
font-size:11px;
text-decoration:none;
color:#888;
}
ul.accordion li .description a:hover{
color:#333;
text-decoration:underline;
}

ul.accordion li .bgDescription{
background:transparent url(../images/bgDescription.png) repeat-x top left;
height:340px;
position:absolute;
bottom:0px;
left:0px;
width:100%;
display:none;
}
...全文
177 1 打赏 收藏 举报
写回复
1 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
jimiddr 2013-03-29
新手 这是我做的网站www.njtlad.com 首页 在猎豹 SAFARI等浏览器下都正常 IE就不行了……求各位大大救助啊! 需要什么信息我第一时间传上来!!
  • 打赏
  • 举报
回复
相关推荐
/* css文件 */ body { margin: 0px; padding: 0px; background: #FFFFFF url(images/bg01.jpg) repeat left top; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 13px; color: #797979; } h1, h2, h3 { margin-top: 0px; text-transform: lowercase; font-family: Georgia, "Times New Roman", Times, serif; font-weight: normal; } h1 { font-size: 42px; } h2 { font-size: 30px; } h3 { font-size: 24px; } p, ul, ol { margin-top: 0px; line-height: 160%; } ul, ol { } a { color: #0098A4; } a:hover { text-decoration: none; } .alignleft { float: left; } .alignright { float: right; } .aligncenter { margin: 0px auto; } img.alignleft { margin-right: 20px; } img.alignright { margin-left: 20px; } a img { border: none; } /* Wrapper */ #wrapper { background: url(images/bg02.jpg) repeat-x left top; } /* Header */ #header { width: 920px; height: 130px; margin: 0px auto; background: url(images/bg03.jpg) no-repeat left top; } /* Logo */ #logo { float: left; } #logo h1, #logo h2 { float: left; margin: 0px; } #logo h1 { padding: 60px 0px 0px 30px; } #logo h2 { padding: 80px 0px 0px 10px; } #logo a { text-decoration: none; color: #797979; } #logo a:hover { text-decoration: underline; color: #0098A4; } #logo h2, #logo h2 a { font-size: 13px; color: #9F9F9F; } /* Menu */ #menu { float: right; } #menu ul { margin: 0px; padding: 78px 30px 0px 0px; list-style: none; } #menu li { float: left; } #menu a { padding: 0px 20px 0px 22px; background: url(images/img02.gif) no-repeat left center; text-decoration: none; text-transform: lowercase; font-family: Georgia, "Times New Roman", Times, serif; font-size: 14px; color: #7B7B7B; } #menu a:hover { text-decoration: underline; color: #0098A4; } #menu .first a { background: none; } /* Page */ #page { width: 920px; margin: 0px auto; background: url(images/bg04.jpg) repeat-y left top; } #bgtop { background: url(images/bg05.jpg) no-repeat left top; } #bgbottom { background: url(images/bg06.jpg) no-repeat left bottom; } /* Content */ #content { float: left; width: 650px; padding: 50px 0px 0px 35px; } .post { } .post .title { padding: 0px 0px 0px 15px; background: url(images/img03.gif) no-repeat left top; } .post .title h2, .post .title h3 { margin: 0px; } .post .title h2 a, .post .title h3 a { text-decoration: none; color: #FFFFFF; } .post .title h2 a:hover, .post .title h3 a:hover { text-decoration: underline; } .post .title p { margin: 0px; text-transform: lowercase; font-size: 16px; color: #8D8D8D; } .post .title p a { text-decoration: none; color: #8D8D8D; } .post .entry { padding: 15px 15px 25px 15px; } /* Sidebar */ #sidebar { float: right; width: 180px; padding: 50px 10px 0px 0px; } #sidebar ul { margin: 0px; padding: 0px; list-style: none; } #sidebar li { } #sidebar li ul { margin: 15px 15px 25px 15px; } #sidebar li li { font-size: 11px; } #sidebar h2 { height: 27px; margin: 0px; padding: 3px 0px 0px 15px; background: url(images/img04.gif) no-repeat left top; font-size: 24px; color: #FFFFFF; } #sidebar a { color: #BCE8EC; } /* Footer */ #footer { width: 920px; height: 100px; margin: 0px auto; background: url(images/bg07.jpg) no-repeat left top; } #footer p { margin: 0px; padding: 30px 0px 0px 0px; text-align: center; font-size: 11px; } #footer a { color: #797979; }
发帖
JavaScript

8.6w+

社区成员

Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
帖子事件
创建了帖子
2013-03-29 12:04
社区公告
暂无公告