Color of my text!!!!

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
Eric

Color of my text!!!!

Post by Eric »

i really am getting very confused. i have posted below my css file for my version of the message board ( http://eric.madashatters.com/mboard.php ), but despite all my attenpts , (using div class, making the whole pages text)

i cannot get the text in my messages to be white PLEASE HELP as i am totaly stumped.

Thanks again
Eric

css.css

Code: Select all

.body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-decoration: none;
	color: #FFFFFF
	text-align: justify;
	padding: 15px;
	height: auto;
	width: auto;
	background-position: center;
	border: none;


}
a:link {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: ffffff;
	text-decoration: none;
}
a:visited {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #ffffff;
	text-decoration: none;
}
a:hover {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-decoration: underline;
	color: ffffff;
}
.news {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
	color: white;
	text-decoration: none;
}

INPUT, TEXTAREA {
	background : black;
	background-color : black;
	border : 1px solid white;
	color: white;
	font : 10px Verdana;
	font-family : Verdana;
	font-size : 10px;
}
.text2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: ffffff;
	text-decoration: none;
}
.white {
        color:white;
}
.offline {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: red;
	text-decoration: none;
}
.online {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: 33FF00;
	text-decoration: none;
}
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

Try changing

Code: Select all

 
.body { 
   font-family: Verdana, Arial, Helvetica, sans-serif; 
   font-size: 10px; 
   text-decoration: none; 
   color: #FFFFFF 
   text-align: justify; 
   padding: 15px; 
   height: auto; 
   width: auto; 
   background-position: center; 
   border: none; 

}  
to

Code: Select all

body, p, td { 
   font-family: Verdana, Arial, Helvetica, sans-serif; 
   font-size: 10px; 
   text-decoration: none; 
   color: #FFFFFF 
   text-align: justify; 
   padding: 15px; 
   height: auto; 
   width: auto; 
   background-position: center; 
   border: none; 
}  
Note that I removed the dot before body.

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Locked