请问这个CSS那里有错误,为什么只显示一个标题的背景色

来源:百度知道 编辑:UC知道 时间:2024/09/24 10:16:43
以下是CSS 内容
/* CSS */

*{margin:0;padding:0;}

img{border:0;}

ul,li{list-style:none;}

a {color:#C90602;text-decoration:underline;}
a:hover{color:#4f4f4f;text-decoration:none;}

.red{color:#E60D28;}
.y14b{color:#F7EBAF;font-size:14px;font-weight:bold;}
h1{color:#F7EBAF;font-size:14px;font-weight:bold;}
h2{font-size:16px;font-weight:bold;}

.blue{color:#055193;}
.blue a{color:#055193;text-decoration:underline;}
.blue a:hover{color:#546B87;text-decoration:none;}

body {margin:0 auto;font-family: 宋体,Arial, Helvetica, sans-serif;font-size:12px;align:center;background:#5E0004;line-height:21px;color:#000;}

#head{margin:0 auto;width:925px;height:186px;}
#nav{
margin:0 auto;
width:925px;
height:24px;
padding-top:6px;
color:#FFFFFF;
font-weight:bold;
font-size:14px;
text-align:center;
background-image: url(nav.gif);
b

.m1-left-1 是标题样式?只这一个height:22px;其他的也都是#
给出html才好看的出来。
你这些css没用。你只需写出那个标题的css就行了吗.

只有CSS?需要相关的HTML才能看的出来问题。可是能是没有相关层的ID来接,或是引用的图片找不到

没有html不好判断哦。