这个滑动门怎样兼容火狐!高分求高手帮忙

来源:百度知道 编辑:UC知道 时间:2024/07/03 10:31:32
<style type="text/css">
/* Reset style */
* { margin:0; padding:0; word-break:break-all; }
body {
background:#ffffff;
color:#000000;
font:13px/1.6em Helvetica, Arial, sans-serif;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
#header {
background-color: #ffffff;
height: 220px;
width: 315px;
margin: 0px;
padding: 10px 10px 10px 10px;
border: 1px solid #ECE1D5;
font-family: "宋体";
font-size: 12px;
text-align:center;
}
#menu {
margin: 0px;
padding: 0px;
list-style-type: none;
text-align:center;
}
#menu ul{
list-style-type:none;
}
#menu li {
display: block;
width: 25%;
text-align: center;
float: left;
margin: 0px;
padding-top: 0.2em;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
cursor:h

火狐是不支持childNodes的,我给你改了一下,其实这些代码都可以在网上下
推荐你一个网站www.jscode.cn

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>11</title>

<style type="text/css">
/* Reset style */
* { margin:0; padding:0; word-break:break-all; }
body {
background:#ffffff;
color:#000000;
font:13px/1.6em Helvetica, Arial, sans-serif;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
#header {
background-color: #ffffff;
height: 220px;
width: 315px;
margin: 0px;
padding: 10px 10px 10px 10px;
border: 1px solid #ECE1D5;
font-family: "宋体";
font-size: 12px;
text-align:center;
}
#menu {
margin: 0px;
padding: 0px;
list