hallo,

Ik heb een probleem met dit stukje code:

<?php
echo "<div class=\"titel\">Navigation</div>";
echo "<div class=\"bericht\">".$navigatie."</div>";
echo "<div class=\"titel\">";
echo "<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"98%\">";
echo "<tr>";
echo "<td width=\"40%\"><b>Username</b></td>";
echo "<td width=\"30%\"><b>Signed up date</b></td>";
echo "<td width=\"30%\"><b>Status</b></td>";
echo "</tr>";
echo "</table>";
echo "</div>";
echo "<div class=\"bericht\">";
echo "<table cellpadding=\"2\" cellspacing=\"0\" border=\"0\" width=\"98%\">";
?>

De text Username, singed up date en status moet zwart zijn momenteel is hij blauw. Dit is de .css code:


/***Misc Tags***/

* {
	margin: 0px;
	padding: 0px;
	color: #0066FF;
}

body {
 background: #000000;
 font-family: Verdana, Arial, sans-serif;
 font-size: 16px;
 color: #fff;}

 
a img{ border: 0px; }

a { text-decoration: none;}

input {
 background: #333;
 font-family: Verdana;
 font-size: 0.7em;
 padding: 3px;
 color: #f4f4f4;
 border: 2px solid #555;}
	
button {
 background: #222;
 font-family: Verdana;
 font-size: 0.7em;
 padding: 2px;
 color: #f4f4f4;
 border: 2px solid #444;
 height: 2em;} 


/**** Span class's *****/

.hidden { text-indent: -9000px;}
.br { clear: both;}
.pink { color: #0066CC;}
.small { font-size: x-small;}
.large { font-size: xx-large;}
.right { float: right;}
.left { float: left;}
.center { margin: 0 auto; text-align: center;}


/**** Site Container ****/

#container { width: 800px;
 background: #222 url(images/background_img2.jpg) repeat-x;
 background: #000000;
 border: 2px solid #0066FF;}



/***Header***/

 
#logo { float: left;}

#logo h1 {
	margin-top: 30px;
	margin-left: 10px;
	font-size: 1.6em;
	letter-spacing: -0.1em;
	color: #FFFFFF;
}
 
#search {
 margin-top: 30px;
 float: right;}
 
#search button { margin-left: 5px; padding: 0 2px 2px 2px;}

/***left Side Bar***/

#navlist { float: left; width: 200px; margin-top: 30px; margin-left: 5px;}

 
#navlist ul {
 list-style: none;
}

#navlist li a{
 display: block;
 height: 25px;
 width: 100px; 
 padding: 9px;
 margin: 5px;
 background: inherit;
 border-right: 4px solid #444;
 color: #999;
 text-transform: lowercase;
 font-size: 0.9em;}
 
#navlist li a:hover {
 color: #f4f4f4;
 background: #333;
 border-right: 4px solid #0066FF;}
 
#navlist li .active {
 color: #999;
 background: #333;
 border-right: 4px solid #444;}


/***Content***/

#content { float: right; width: 510px; margin-top: 30px; margin-left: 2px; }

#content a { color:#0066FF; font-weight: bold;}

#content a:hover { 
 color: #fff; 
 background: #0066FF; 
 font-weight: bold;}
 
#content p {line-height: 1.4em; font-size: 0.7em; margin-bottom: 20px; color: #FFFFFF;}

 
#content h3 {
text-indent: 20px;
color: #999;
letter-spacing: -0.1em;
margin-bottom: 4px;
}

#content h3:hover { color: #fff;}

	#content .code{
	  color: #000000;
	  background: #F4f4f4 url(codenums.png) repeat-y;
	  border: 1px solid #ccc;
	  padding: 1px;
	  padding-left: 25px;
	  font-family: "courier new", helvetica, "times new roman", monospace;
	  font-size: 0.8em;
	  width: 470px;
	  margin: 2px auto;
	  white-space: nowrap;
	  overflow: auto;}
	  
	#content  code {
	  color: #fff;
	  font-family: "courier new", helvetica, "times new roman", monospace;
	  background-color: #000000;
	  font-size: 1.2em;}

#content blockquote { color: #999; font-style: italic; text-align: center; width: 300px; margin: 10px auto;}
 
/***Footer***/

#footer {
 text-align: center;
 color: #666;
 margin-top: 30px;
 font-size: 0.7em;
 }
 
#footer p { color: #666;}

#footer a { color: #666;}
 
#footer a:hover { color: #f4f4f4;}

form {
	margin: 0px;
}

.titel {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	font-weight: bold;
	color: #000000;
	background-color: #666666;
	padding: 4px;
	border-top: solid 1px #666666;
	border-left: solid 1px #666666;
	border-right: solid 1px #666666;
	top: auto;
}
.bericht {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	color: #999;
	padding: 4px;
	margin-bottom: 5px;
	border-bottom: solid 1px #666666;
	border-left: solid 1px #666666;
	border-right: solid 1px #666666;
}
code { 
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14pt;
}

Als je die code zelf hebt gemaakt, dan weet je toch waarom de tekst blauw is?
FAQ.
De code is uit een groot membersysteem. En heb al heel veel verschilende dingen geprobeert maar ben een beginner.

[size=xsmall]Toevoeging op 13/01/2011 19:41:03:[/size]

Waarom stuur je de FAQ, heb ik iets niet goed gedaan?

mvg. Joey
Ja, je hebt iets niet goed gedaan. Maar dat is alweer opgelost :-/
Dus er is niemand die mij even kan helpen?

Mvg. Joey
Leer CSS. Zie wat Ozzie PHP zei.
Volgens mij ontbreekt er sowieso relevante code. Wat je kunt proberen is om dit toe te voegen onderaan in je css bestand:

.titel td {
color:#000000;
}

En als dat niet werkt dan kan ik je met bovenstaande code die je hebt gegeven niet helpen.

En inderdaad... zelf maar eens css gaan leren want dit is toch vrij basis, een kleur aanpassen.

Reageren