Farbe im Text ändern (PhP) Hilfe!!

05/02/2011 18:09 black'coockie#1
Hallo,
Also ich möchte bei meiner PHP Seite das die Texte Farbe weiß haben und nicht schwarz.

Hier mal der PhP Code:
PHP Code:
<div class="rightBoxTop"></div>
        <div class="rightBox"><div class="innerBox">
        <?php
if($_SESSION['id'] == "") {
?>
<form action="scripts/login/login.php" method="post">
        Login:(weiß!) <br>
            <input type="text" name="user" size="20"><br>
        Passwort:(weiß) <br>
            <input type="password" name="pw"><br>
            
        <input type="submit" name="login" value="Login"> 
    </form>
        &raquo; <a href="index.php?page=pwforgot"> Passwort vergessen? (weiß)</a>
<?php
} else {
$id $_SESSION['id'];
$coins $_SESSION['coins'];
        
        echo 
"<b>Willkommen $id!(weiß)</b><br>";
        echo 
"&raquo; Deine Coins: $coins (weiß)<br>
            &raquo; <a href=\"index.php?page=logout\"> Logou(weiß)t</a><br>
            &raquo; <a href=\"scripts/itemshop/index.php?page=shopindex\" rel=\"width:700,height:500\" id=\"mbshop\" class=\"mb\"> Itemshop(weiß)</a><br>
            &raquo; <a href=\"index.php?page=pscorder\"> Coins Aufladen(weiß)</a><br>
            &raquo; <a href=\"index.php?page=rulebreaker\"> Rulebreaker melden(weiß)</a><br>
            &raquo; <a href=\"index.php?page=user\"> Userpanel(weiß)</a> "
;

}
?>

        </div></div>
        <div class="rightBoxBottom"></div>

        <div class="rightBoxTop"></div>
        <div class="rightBox"><div class="innerBox">
        <?php
if($mysql != "0" ) {
include 
'scripts/ranking/top5.php';
} else {
echo 
"Keine Verbindung zur Datenbank!(weiß)";
}

?>
        </div></div>
        <div class="rightBoxBottom"></div>
    
        <div class="rightBoxTop"></div>
        <div class="rightBox"><div class="innerBox">
        <?php
        
include 'scripts/stats/statistik.php';
?>
        </div></div>
        <div class="rightBoxBottom"></div>
Sorry, bin neu bei PhP ^^
05/02/2011 18:11 >XES#2
1 Thread reicht (;
Quote:
&raquo; <a href="index.php?page=pwforgot"> Passwort vergessen? (weiß)</a>
vl. (schwarz) kenn mich selber bei pp nich aus...
05/02/2011 18:12 black'coockie#3
Quote:
Originally Posted by since66 View Post
1 Thread reicht (;


vl. (schwarz) kenn mich selber bei pp nich aus...
Bin wahrscheinlich 2x auf Senden oder so gekommen. ^^
05/02/2011 18:13 Ghost#4
<style type="text/css">
{color:white}
</style>


Afaik
05/02/2011 18:15 >XES#5
Kein problem , lösch einfach den andern Thread ^.^
hat das funkt mit (schwarz) ?
05/02/2011 18:15 black'coockie#6
Quote:
Originally Posted by Ghost View Post
<style type="text/css">
{color:white}
</style>


Afaik
Und das jetzt in's css machen?
05/02/2011 18:16 Ghost#7
im Zweifel
05/02/2011 18:18 black'coockie#8
Quote:
Originally Posted by Ghost View Post
im Zweifel
SOrry bin ganz neu mit dem Scripten ^^ sollte ich das jetzt im css machen oder iwo im php script?
05/03/2011 05:42 >XES#9
in's css rein.