Changing text color in CSS file
Hi guys/girls
Havent posted on here for a while so hope everyones ok. I have a .PHP file that displays news bullitins & loads a stylesheet called style.css which Ive included the code below (sorry about the length) however, for the life of me, I cannot change the body of the text, every other aspect, the background colour, the title's of each news piece can all be changed but not the actual text color. I only want to change it to white (fffff) ?????
Any ideas ?
TT PRE { font-family: monospace; }
body {
background-color: #000000;
text-color: #ffffff
margin: 15px 0px 0px 0px;
font-family: verdana, sans-serif;
font-size: 12px;
}
table {
font-family: verdana, sans-serif;
font-size: 12px;
text-color: #ffffff;
}
a:link, a:visited, a:active { color: #ffffff;
text-decoration: none;
background-color: transparent;
}
a:hover { text-decoration: underline;
background-color: transparent;
}
#main {
background-color: #000000;
text-color: #ffffff;
border: 1px solid #854900;
padding: 10px;
}
#menu {
background-color: #000000;
text-color: #ffffff
border: 1px solid #854900;
padding-top: 5px;
padding-right: 15px;
padding-left: 5px;
font-size: 12px;
white-space: nowrap;
}
#menu h3 {
font-size: 14px;
text-decoration: underline;
}
#header {
text-align: center;
font-size: 24px;
color: #ffffff;
font-weight: bold;
}
#time {
font-size: 10px;
margin-left: 6px;
}
#date {
font-size: 12px;
font-weight: bold;
margin-top: 15px;
border-bottom: solid 1px #854900;
; color: #ffffff; background-color: #000000 }
#subject {
font-size: 12px;
font-weight: bold;
text-color: #ffffff;
margin-left: 6px;
}
#morelink {
font-size: 10px;
}
#post {
margin-bottom: 5px;
margin-left: 6px;
}
#longpost {
margin-top: 5px;
margin-left: 6px;
}
kazimmerman posted this at 11:39 — 13th September 2005.
He has: 698 posts
Joined: Jul 2005
'text-color' should be changed to just 'color'.
Kurtis
mfdc posted this at 12:05 — 13th September 2005.
They have: 160 posts
Joined: Aug 2004
bless you, of course, how silly of me. Thankyou very much.
kazimmerman posted this at 20:21 — 13th September 2005.
He has: 698 posts
Joined: Jul 2005
No problem. I noticed right away because I always want to put 'font-color' because the other CSS font attributes are 'font-size', 'font-family', etc...it's really a bit odd if you ask me.
Kurtis
JeevesBond posted this at 12:24 — 14th September 2005.
He has: 3,956 posts
Joined: Jun 2002
I was reading that and thinking to myself: "Damn that color property is so ambiguous." wish that would get changed, it's not in line with other properties IMO.
a Padded Cell our articles site!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.