CSS 为什么能让 h1标签的字体失效

来源:百度知道 编辑:UC知道 时间:2024/05/11 17:40:07
http://www.nmsqq.com/ 首页中任意的栏目名字 比如"QQ宠物" 是在<h1 标签下的,但是为什么字体没有变大? 代码:
<DIV class="actions fl commbox">
<H1><SPAN><A class=a2
href="/qqchongwu">更多<STRONG>>></STRONG></A></SPAN>QQ宠物</H1>

CSS文件代码:

http://www.nmsqq.com//templets/style/xulei.css

你的标题用的是H1还是h1?
我看你的CSS代码比较紊乱啊~
你这种情况应该是继承的过程中出现问题了~
是不是h1的子元素在css中声明并赋值的时候把font-size改掉了?

另外为什么h1的属性有那么多?

h1 {xulei.css (line 303)
background:#EEF6FE none repeat scroll 0%;
clear:both;
color:#1974C8;
font-weight:bold;
height:25px;
line-height:25px;
margin-top:1px;
padding-left:14px;
text-align:left;
}
h1 {xulei.css (line 22)
margin:0px;
padding:0px;
}
h1 {xulei.css (line 4)
color:#333333;
font-family:"Arial","宋体","Tahoma",sans-serif;
font-size:12px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:160%;
}
* {dede.css (line 3)
font-family:Verdana,Arial,Helvetica,sans-serif;
margin:0px;
padding:0px;

真混乱