CSS修改標題顏色

我想要修改我的文章標題的顏色
現在是灰色的
我想改成白色
爬很多文 試過修改各種標籤的語法
都沒辦法改到標題的顏色
請問到底是哪裡出錯呢?

PS.希望這邊可以問CSS的問題.....


http://a3869000.pixnet.net/blog

----------以下CSS---------------------



.article-content p {
margin-bottom:1em;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}

table {
border-collapse:collapse;
border-spacing:0;
}

address,caption,cite,code,dfn,em,th,var {
font-style:normal;
font-weight:400;
}

ol,ul {
list-style:none;
}

caption,th {
text-align:left;
}

h1,h2,h3,h4,h5,h6 {
font-size:100%;
font-weight:400;
}

q:before,q:after {
content:'';
}

pre {
font-size:1em;
}

.article-content {
_height:1%;
overflow:hidden;
_overflow:none;
border:0 solid #ccc;
font-size:12px;
color:#888;
line-height:180%!important;
letter-spacing:normal;
margin-top:10px;
padding:5px 0 0 5px;
}

html {
scrollbar-face-color:#ccc;
scrollbar-track-color:#f2f2f2;
scrollbar-3dlight-color:#f2f2f2;
scrollbar-darkshadow-color:#f2f2f2;
scrollbar-arrow-color:#fff;
scrollbar-shadow-color:#f2f2f2;
scrollbar-highlight-color:#f2f2f2;
overflow-x:hidden;
font-family:"Century Gothic",arial;
font-size:12px;
}

body {
font-family:"Century Gothic",arial;
font-size:12px;
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/1163852861.gif) #fff repeat-y 10px 0;
background-image:url(http://pic.pimg.tw/a3869000/1320070504-3611807043.jpg?v=1320070508);
background-color:transparent;
background-repeat:repeat;
background-position:undefined;
}

#body-div {
font-family:"Century Gothic",arial;
font-size:12px;
color:#999;
padding-top:1px;
margin:10px 0 0 20px;
}

a {
font-family:"Century Gothic",arial;
font-size:12px;
color:gray;
text-decoration:none;
cursor:url(http://lichi.park5.com/img/r1.ani);
}

a:hover {
font-family:"Century Gothic",arial;
font-size:12px;
color:#666;
border-bottom:0 dashed #D8D7D7;
cursor:url(http://lichi.park5.com/img/r1.ani);
}

input {
border:1px solid #aaa;
background:#fff;
font-size:12px;
margin:2px;
}

#authority {
text-align:left;
border:0 solid #ccc;
width:100%;
height:20px;
margin:5px 0 2px 60%;
padding:3px;
}

#authority a {
background:#000;
font-size:11px;
font-family:verdana;
color:#fff;
border:1px solid #000;
padding:3px;
}

#authority a:hover {
background:#fff;
font-size:11px;
font-family:verdana;
color:#000;
border:1px solid #000;
padding:3px;
}

#authority #backstage {
margin-left:10px;
}

#container {
width:1100px;
border:0 solid #ccc;
margin:0 auto;
}

#container2 {
_height:1%;
}

#main {
border:0 solid #ccc;
width:100%;
}

#header {
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/1163512009.jpg) no-repeat 100% 100%;
width:100%;
height:400px;
border:1px solid #ccc;
position:relative;
background-image:url(http://pic.pimg.tw/a3869000/1307640501-a6bac62fdddab80e990680f01146287b.jpg?v=1307640506);
background-position:center;
background-repeat:no-repeat;
margin:20px 0 0;
padding:0;
}

#header>#login-bar/*FF專用*/ {
color:#000;
border:0 solid #ccc;
}

#login-bar {
color:#000;
position:absolute;
top:-20px;
left:0;
text-align:left;
border:0 solid #ccc;
}

#login-bar a:hover {
border-bottom:0;
color:#999;
}

#banner {
width:100%;
height:150px;
padding-left:10px;
border:0 solid #000;
}

#banner h1 {
padding-top:0;
}

#banner h1 a {
font-size:30px;
color:#000;
font-weight:700;
}

#banner h1 a:hover {
color:#999;
border-bottom:0;
}

#banner h2 {
color:#999;
font-weight:400;
border:0 solid #ccc;
overflow:hidden;
line-height:18px;
width:60%;
height:80px;
margin:10px 0 0 10px;
}

#banner>#blog-category {
position:absolute;
top:2px;
left:83%;
}

#blog-category {
position:absolute;
top:5px;
left:84%;
color:#000;
font-size:10.5px;
font-family:verdana;
}

#blog-category a {
color:#000;
font-size:10.5px;
font-family:verdana;
}

#header>#navigation {
position:absolute;
top:-21px;
left:693px;
border:0 solid #ccc;
}

#navigation {
overflow:hidden;
_overflow:none;
_height:1%;
position:absolute;
top:-20px;
left:703px;
border:0 solid #ccc;
width:220px;
height:50px;
padding:0;
}

#navigation a {
display:block;
width:40px;
text-align:center;
color:#000;
letter-spacing:5px;
background:#eaeaea;
border:1px solid #ccc;
border-bottom:0 solid #ccc;
font-size:10.5px;
font-family:verdana;
padding:3px 0;
}

#navigation a:hover {
color:#fff;
background:#000;
border:1px solid #ccc;
border-bottom:0 solid #ccc;
}

#navigation li {
float:left;
margin:0 10px 0 0;
}

#link-blog a {
color:#fff;
background:#000;
width:50px;
text-align:center;
}

#content {
float:left;
width:810px;
overflow:hidden;
border:0 solid #000;
margin:10px 0 0;
padding:0;
}

#spotlight {
border-bottom:1px solid #eee;
width:100%;
margin:0 auto;
padding:0;
}

#spotlight h5 {
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/1176964969.gif) no-repeat 0 5px;
color:#c03;
text-align:left;
border:0 solid #ccc;
height:15px;
padding:7px 0 3px 50px;
}

#spotlight-text {
font-family:Georgia;
color:#999;
border:0 dashed #aaa;
line-height:19px;
margin-bottom:5px;
padding:5px 0 0 20px;
}

#spotlight-text a {
color:red;
}

#spotlight-text a:hover {
color:#96c;
border:0;
}

#article-area {
border:0 solid #333;
margin-bottom:5px;
padding:0;
}

.article-area-title {
border:0 solid #ccc;
color:#84929F;
}

#display {
text-align:left;
border:0 solid #ccc;
margin:0;
}

.article {
border:0 solid #333;
margin-bottom:3px;
padding:3px;
}

.publish {
border:0 solid #aaa;
text-align:right;
font-size:12px;
font-family:Georgia;
letter-spacing:1px;
font-weight:700;
color:#999;
margin:10px 0 0;
padding:0;
}

.title h2 {
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/1163512004.gif) no-repeat 3px 5px ;
margin-top:3px;
border-right:1px solid #ccc;
border-bottom:1px solid #ccc;
width:auto;
padding:6px 0 3px 25px;
}

.title h2 a {
font-weight:700;
font-size:16px; 標題的文字大小
color:#000;
padding:0;
}

.title h2 a:hover {
font-size:13px;
color:#999;
padding-left:0;
border-bottom:0;
}

.article-body {
line-height:19px;
margin-top:5px;
color:#444;
border:0 solid #ccc;
padding:0;
}

.bookmark {
text-align:right;
color:#fff;
}

.article-content br {
letter-spacing:normal;
}

.article-content a {
font-size:12px;
color:red;
}

.article-content a:hover {
font-size:12px;
color:#069;
border:0;
}

.more {
font-family:Georgia!important;
}

.more a {
font-size:15px;
font-family:Georgia;
display:block;
width:auto;
line-height:23px!important;
text-align:right;
color:#7497b3!important;
letter-spacing:1px;
margin:10px 0 0;
padding:0;
}

.more a:hover {
color:#4083ba!important;
border:0;
font-size:15px;
font-family:Georgia;
letter-spacing:1px;
}

.author {
padding-bottom:1px;
text-align:right;
color:#999;
margin-top:3px;
border-bottom:0 dashed #aaa;
}

.author a {
color:#999;
}

.author a:hover {
color:#333;
}

#article-main .author {
border-bottom:1px dashed #aaa;
}

.article-footer {
border:0 solid #ccc;
padding:2px;
}

.refer {
margin-top:5px;
border-bottom:0 dashed #888;
text-align:left;
font-weight:400;
margin-bottom:1px;
color:#af7c7c;
float:left;
}

.refer li a {
color:#AF7C7C;
}

.refer li a:hover {
color:#896262;
border-bottom:0 solid #896262;
padding-right:0;
}

.forward {
float:right;
height:30px;
text-align:left;
font-size:11px;
color:#fff;
font-family:arial;
margin-top:7px;
padding-top:2px;
border:0 solid #aaa;
}

.forward a {
font-size:11px;
font-family:arial;
color:#999;
border:1px solid #ccc;
background:#f9f9f9;
margin-right:5px;
padding:2px;
}

.forward a:hover {
font-size:11px;
font-family:arial;
color:#c39;
border:1px solid #ccc;
background:#eaeaea;
margin-right:5px;
padding:2px;
}

.back-to-top {
clear:both;
}

.back-to-top a {
color:#808;
padding:1px;
}

.back-to-top a:hover {
color:#487548;
border-bottom:0;
background:#fafafa;
padding:1px;
}

#user-post {
border-top:1px dashed #aaa;
padding-top:5px;
margin-top:0;
line-height:normal;
}

#trackback-box {
margin-bottom:20px;
color:#333;
}

#trackback-box input {
margin-left:2px;
border:1px solid #aaa;
background:#fff;
font-size:10.5px;
font-family:verdana!important;
color:#666;
}

.user-post-box {
border:0 solid #ccc;
padding:5px;
}

#trackback-title {
color:#000;
font-size:9pt;
border-bottom:1px solid #aaa;
border-right:8px solid #AD6E91;
width:120px;
padding:1px 0 1px 10px;
}

#comment-title {
color:#000;
font-size:9pt;
border-bottom:1px solid #aaa;
border-right:8px solid #B3848A;
width:120px;
padding:1px 0 1px 10px;
}

.user-post-title {
color:#fff;
font-size:medium;
margin-bottom:10px;
border:0 solid #ccc;
padding:5px 10px;
}

.user-post-text {
padding:10px;
}

#comment-box .single-post {
width:85%;
margin:8px 0;
}

.single-post {
overflow:hidden;
_overflow:none;
_height:1%;
border:0 solid #aaa;
margin:2px;
padding:10px;
}

.post-info {
background:#eee;
margin-bottom:5px;
color:#666;
padding:3px 0;
}

.post-info .floor {
background:#666;
font-size:16px;
font-family:impact;
color:#fff;
border-right:1px solid #ccc;
border-bottom:1px solid #ccc;
padding:3px 5px 3px 3px;
}

.post-info .post-time {
color:#666;
}

.post-info a {
background:#999;
}

.post-info a:hover {
background:#aaa;
border:0;
}

a.user-name,a.reply-message,a.user-name:hover,a.reply-message:hover {
border:none;
background:none;
}

.post-info img {
visibility:hidden;
width:10px;
height:10px;
}

.post-text {
float:left;
width:86%;
border:0 solid #aaa;
text-align:left;
font-family:arial;
color:#999;
line-height:20px;
font-size:12px;
margin:0 0 5px 2px;
padding:5px 0 0 3px;
}

#trackback-box .post-text {
width:auto;
float:none;
}

.post-photo {
float:right;
text-align:Center;
}

.post-photo img {
width:40px;
height:40px;
border:0 solid #ccc;
padding:2px;
}

.reply-text {
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/4943362b24401.gif) repeat-y 0 0;
border-left:0 solid #999;
clear:both;
color:#c66;
line-height:20px;
font-size:12px;
margin:10px 0 0 20px;
padding:0 0 0 12px;
}

.reply-text textarea {
font-family:Arial;
font-size:12px!important;
color:#000;
display:block;
width:96%;
height:60px;
line-height:19px;
letter-spacing:1px;
border:none;
background:#f5f5f5;
overflow:hidden;
padding:1%;
}

.reply-text p {
display:none;
text-align:right;
color:#999;
font-size:10.5px;
font-family:verdana;
border-left:0;
padding:5px 2px 2px;
}

.secret {
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/49afb94ec0519.jpg) no-repeat 50% 50%;
height:50px;
font-size:0;
text-indent:-5000px;
border:1px solid #eee;
}

.post-comment a {
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/1188931373.png) no-repeat 2% 0 #fff;
margin-top:10px;
letter-spacing:1px;
margin-left:20px;
font-size:0;
display:block;
color:#fff!important;
width:160px;
height:30px;
text-indent:-5000px;
}

.post-comment a:hover {
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/1188931373.png) no-repeat 20% 0 #fff;
margin-top:10px;
letter-spacing:1px;
margin-left:20px;
font-size:0;
display:block;
color:#fff!important;
width:160px;
height:30px;
text-indent:-5000px;
border:0;
}

#comment-form {
border:0 solid #ccc;
width:90%;
margin:15px 0 0 15px;
padding:0;
}

#comment-form p {
color:#bbb;
text-align:right;
margin:0 20px 5px 0;
}

#comment-form table {
width:100%;
border-top:1px solid #aaa;
}

#comment-form table td {
color:#999;
vertical-align:top;
border:none;
padding:2px 5px;
}

#comment-form table th {
color:#fff;
vertical-align:top;
width:70px;
background:#000;
border:none;
text-align:center;
margin:0 auto;
padding:5px;
}

#comment-form input {
height:17px;
font-family:Arial;
font-size:11px;
color:#000;
border:none;
border-bottom:1px solid #ccc;
background:none;
}

#comment-form textarea {
width:99%;
height:90px;
font-family:Arial;
font-size:11px;
line-height:18px;
color:#000;
border:1px solid #ccc;
background:#fff;
}

#comment-form input#send-comment {
border:1px solid #aaa;
padding:1px 3px;
}

.main-list {
margin:5px 0 0 15px;
padding:10px;
}

#display a:hover {
color:#c00;
}

.main-list table {
width:95%;
margin:5px 0 0 5px;
}

.main-list h3 {
margin-bottom:10px;
padding:5px 10px;
}

.main-list th {
background:#eee;
border:0 solid #888;
letter-spacing:1px;
color:#666;
padding:3px;
}

.main-list td {
border-bottom:1px solid #eee;
padding:2px;
}

td.list-title a {
display:block;
width:auto;
border-bottom:0;
line-height:18px;
}

td.list-title a:hover {
display:block;
background:#f0f0f0;
width:auto;
border-bottom:0;
line-height:18px;
}

.page {
color:#000;
text-align:center;
font-family:Georgia;
font-size:25px;
letter-spacing:3px;
font-weight:700;
margin:15px 0 0 10px;
}

.page a {
color:#999;
font-family:georgia;
font-size:12px;
}

.page a:hover {
color:red;
border:0;
font-family:georgia;
font-size:12px;
}

#links {
width:280px;
float:right;
margin-top:0;
margin-right:0;
border:0 solid red;
}

.box-title {
font-size:12px;
color:#000;
text-align:left;
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/1163512005.gif) no-repeat 0 10px;
height:16px;
margin:20px 0 5px 30px;
padding:15px 0 0 22px;
}

.box-text {
font-size:12px;
text-align:left;
border-left:3px solid #ccc;
padding-left:10px;
line-height:19px;
text-overflow:ellipsis;
overflow:hidden;
margin:0 0 0 45px;
}

.box-text li {
margin:1px;
}

.murmur-text {
color:#c36;
padding-top:5px;
}

.murmur-time {
color:#aaa;
text-align:left;
font-size:10.5px;
font-family:Verdana;
}

#murmur .box-more {
text-align:right;
margin-top:10px;
}

#murmur .box-more a {
color:#999;
font-family:verdana;
font-size:10.5px;
border-bottom:0;
}

#headshot .box-text {
height:100px;
padding:10px 0 0 10px;
}

#headshot .box-text li {
float:left;
}

#headshot .box-text li a {
height:15px;
text-align:center;
width:80px;
display:BLOCK;
}

#broadcast .broadcast-time {
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/1208415378.gif) no-repeat 0 6px;
width:150px;
margin-top:10px;
padding:0 0 1px 15px;
}

#broadcast .broadcast-time a {
border:0;
color:#369;
}

#broadcast .broadcast-time a:hover {
border:0;
color:red;
}

#broadcast .broadcast-time span {
color:#C38E8E;
font-size:10.5px;
font-family:verdana;
padding-left:5px;
}

#broadcast .broadcast-text {
line-height:18px;
}

#broadcast .broadcast-text a:hover {
border:0;
color:#888;
}

#counter .box-text {
font-family:verdana;
font-size:10.5px;
text-align:left;
color:#9BA4AD;
}

#calendar table {
text-align:center;
font-size:12px;
color:#000;
font-weight:700;
margin-left:10px;
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/1163512397.gif) repeat 0 0;
width:100%;
padding:2px;
}

#calendar .month-nav {
padding:5px;
}

#calendar .current-month {
text-align:center;
color:#C79595;
}

#calendar .cal-backward {
text-align:left;
padding-left:5px;
}

#calendar .cal-forward {
text-align:right;
padding-right:5px;
}

#calendar .calMonthHeader {
text-align:center;
}

#calendar td {
font-family:verdana;
font-size:10.5px;
margin:2px;
padding:2px;
}

#calendar th {
text-align:center;
font-family:verdana;
font-size:10.5px;
}

#calendar td a {
color:#369;
border-left:0;
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/1163512006.gif) repeat 0 0;
height:18px;
width:18px;
padding:5px;
}

#recent-article .box-text {
line-height:200%;
}

#recent-article .box-text a:hover {
color:#c30;
display:block!important;
width:100%;
}

#category .inner-box {
display:block!important;
background:url(http://p2.p.pixnet.net/albums/userpics/2/9/220529/496ce6465ae26.gif) no-repeat 0 3px;
margin:5px 0;
padding:0 0 0 20px;
}

#category h6 {
color:#cdb3b3;
display:block!important;
}

#category .box-text li {
display:block!important;
padding:5px 0 0;
}

#category .box-text li a {
display:block!important;
width:100%;
}

#category .box-text li a:hover {
display:block!important;
width:100%;
color:#c30;
}

#category .box-more {
text-align:right;
}

#archive .box-more a {
display:block!important;
width:100%;
color:#cdb3b3;
}

#archive .box-more a:hover {
display:block!important;
width:100%;
color:#a97070;
}

#latest-comment .box-text {
text-align:left;
color:#999;
}

#latest-comment .box-text li {
border-bottom:0 dashed #999;
line-height:20px;
font-size:12px;
}

#latest-comment .box-text li a {
color:#999;
font-size:12px;
}

#latest-comment .box-text li a:hover {
color:#666;
border-bottom:0 dashed #aaa;
font-size:12px;
}

#footer {
clear:both;
text-align:center;
padding:0;
}

#footer p {
text-align:right;
padding-top:10px;
}

#bottom {
text-align:right;
border:0 solid #000;
padding:5px 0 10px;
}

#footer>#bottom {
padding:5px 0;
}

fieldset,img,abbr,acronym,.box-text a:hover {
border:0;
}

#login-bar a,.history a {
color:#000;
}

#banner .skiplink,#blog-main .article-footer,#category-main .article-footer,.history,img.pixnet-user,.user-ip,#comment-form table tr.comment-form-title,#comment-form table th font,td.list-title img,#broadcast .broadcast-photo,#visitor .box-more,#crumb .box-more,#category img,#latest-comment .box-text span {
display:none;
}

#display span,#display a,.time {
color:#B3848A;
}

.article-head,#comment-box {
border:0 solid #ccc;
}

.bookmark img,.forward img {
height:12px;
}

#broadcast .broadcast-text a,#recent-article .box-text a {
display:block!important;
width:100%;
color:#999;
}

#visitor img,#crumb img {
width:30px;
height:30px;
border:1px solid #ddd;
background:#fff;
margin:1px;
padding:3px;
}

#visitor li,#crumb li {
display:inline;
line-height:1px;
}

#visitor .box-text,#crumb .box-text {
height:1%;
}

#visitor .box-text a:hover,#crumb .box-text a:hover {
border-bottom:0;
}

#category,#category .box-text,#category .box-text h4,#category .box-text ul {
display:block!important;
}

#header h1 a {
color:#ff6;
font-size:24pt;
}

#header h1 a:link,#header h1 a:visited,#header h1 a:hover,#header h1 a:active {
color:#ff6;
}

#header h1 {
font-size:24pt;
}

#header h2 {
color:#bff;
font-size:12pt;
}
2011-10-31 23:30 發佈
文章關鍵字 css 標題顏色

a3869000 wrote:
我想要修改我的文章標題的顏色
現在是灰色的
我想改成白色


現在不就是白色嗎

標題顏色是這2個吧

.title h2 a
.title h2 a:hover
a {
font-family:"Century Gothic",arial;
font-size:12px;
color:gray;
text-decoration:none;
cursor:url(http://lichi.park5.com/img/r1.ani);
}

a:hover {
font-family:"Century Gothic",arial;
font-size:12px;
color:#666;
border-bottom:0 dashed #D8D7D7;
cursor:url(http://lichi.park5.com/img/r1.ani);
}

你自己設灰的

其實像下面這行一樣就可以了
a, a:link, a:visited, a:active, a:hover
{ text-decoration: none; color: white; }
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?