text not changing to white

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    text not changing to white

    hi there friends can some one please help me i am trying to get the text to change to white but its not doing any thing apart from staying black

    Code:
    <?php
    define('WCS',true);
    header("Content-type: text/css");
    header("Cache-Control: no-cache, must-revalidate");
    include('./core/main.inc');
    $row_profiles=mysql_fetch_array(mysql_query("select * from profiles where uid='".getuid_nick($uid)."'"));
    $body_background=$row_profiles["body_background"];
    $body_text=$row_profiles["#ffffff"];
    $font_size=$row_profiles["font_size"];
    $border_color=$row_profiles["border_color"];
    $div_background=$row_profiles["div_background"];
    $link_color=$row_profiles["link_color"];
    if(!$row_profiles["uid"]){
    $body_background="#000000";
    $body_text="#ffffff";
    $font_size="medium";
    $border_color="#0000FF";
    $div_background="#000000";
    $link_color="#ffffff";
    }
    ?>
    
    body {background-image:url('./images/testing.gif');}
    font-family : Comic Sans MS;
    font-size:<?=$font_size?>;
    margin: 0px;
    padding: 1px;
    color:<?=$body_text?>;}
    p {padding:0px;}
    input, select {color:<?=$link_color?>;
    border: 1px ridge <?=$border_color?>;
    font-family: Comic Sans MS, Tahoma, Verdana;
    font-weight: bold;
    background-color:<?=$body_background?>;}
    * {text-decoration:none;}
    img {border: 0px none;}
    a, a:active, a:visited, a:hover {color:<?=$link_color?>;}
    head {font-family : Comic Sans MS;
    font-size:<?=$font_size?>;}
    .div {margin: 2px 0px 2px 0px;
    padding: 2px 0px 2px 0px;
    color:<?=$body_background?>;
    background-color:<?=$div_background?>;
    border: 1px solid <?=$border_color?>;
    text-align: center;}
    .center {text-align: center;}
    .left {text-align: left;}
    .link {color:<?=$extlink?>;}
    thanks to any one that helps
    HELP THEM WHO HELPS YOU



    i only work on wapdesire v_2 coding only

    #2
    Probably because you are closing your body css on this line:
    Originally posted by brand View Post
    Code:
    body {background-image:url('./images/testing.gif');}
    try removing the }

    Comment


      #3
      it is still black writing something else

      Added after 8 minutes:

      sorted it now
      Last edited by brand; 28.10.11, 08:52.
      HELP THEM WHO HELPS YOU



      i only work on wapdesire v_2 coding only

      Comment


        #4
        For text to be white you have to specify color
        Originally posted by brand View Post
        body {background-image:url('./images/testing.gif'); color:#FFF;}
        libra.wen.ru

        Comment

        Working...
        X