- 主题:background-color在firefox中不显示的问题
#head{
width:700px;
height:50px;
background-color:rgb(180 180 180);
padding-top:25px;}
#main{width:auto;
height:500px;
}
#left{margin-top:50px;
padding-top:50px;
padding-left:20px;
width:150px;
height:500px;
float:left;
font-size:20px;
background-color:rgb(180 180 180);
line-height:50px;
}
#right{width:500px;
height:500px;
float:right;}
<div id="page">
<div id="head">
<a href="1.html">首页</a>><a href="aboutwumiu.html">关于戊缪</a>
</div>
<div id="main">
<div id="left">
<p><a href="index.html">返回首页</a></p>
<p><a href="okumahistory.html">上一篇:大隈公司沿革</a></p>
<p><a href="workpiece.html">下一篇:</a></p>
</div>
<div id="right">
</div>
</div>
</div>
header和left中的背景在ie中显示正常,在firefox中不显示。请高手指点。
--
FROM 110.182.173.*
格式写错了,是
background-color:rgb(180, 180, 180)
【 在 michaelchin (davids) 的大作中提到: 】
: #head{
: width:700px;
: height:50px;
: ...................
--
FROM 222.71.105.*
知道了,我后来改成16进制的就可以了。但是没有逗号IE却读得很好哦。
发现ff比较严谨。
【 在 musicsky 的大作中提到: 】
: 格式写错了,是
: background-color:rgb(180, 180, 180)
--
FROM 110.182.147.*