Results 1 to 4 of 4

Thread: text not changing to white

  1. #1
    Senior Member
    Join Date
    May 2009
    Posts
    395
    Thanks
    45
    Thanked 18 Times in 11 Posts
    Rep Power
    5

    Default 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

    [Only registered and activated users can see links. Click Here To Register...]

    i only work on wapdesire v_2 coding only

  2. #2
    Senior Member something else's Avatar
    Join Date
    Feb 2008
    Location
    if($something){echo 'Status code 404'; }else{ echo 'coding-talk.com';}
    Posts
    1,818
    Thanks
    209
    Thanked 447 Times in 202 Posts
    Rep Power
    0

    Default

    Probably because you are closing your body css on this line:
    Quote Originally Posted by brand [Only registered and activated users can see links. Click Here To Register...]
    Code:
    body {background-image:url('./images/testing.gif');}
    try removing the }

    [Only registered and activated users can see links. Click Here To Register...]


  3. #3
    Senior Member
    Join Date
    May 2009
    Posts
    395
    Thanks
    45
    Thanked 18 Times in 11 Posts
    Rep Power
    5

    Default

    it is still black writing something else

    Added after 8 minutes:

    sorted it now
    Last edited by brand; 28-10-11 at 08:52.
    HELP THEM WHO HELPS YOU

    [Only registered and activated users can see links. Click Here To Register...]

    i only work on wapdesire v_2 coding only

  4. #4
    Senior Member s3nzo's Avatar
    Join Date
    Sep 2009
    Location
    Durban, KwaZulu-Natal, South Africa
    Posts
    158
    Thanks
    54
    Thanked 22 Times in 9 Posts
    Rep Power
    4

    Default

    For text to be white you have to specify color
    Quote Originally Posted by brand [Only registered and activated users can see links. Click Here To Register...]
    body {background-image:url('./images/testing.gif'); color:#FFF;}
    [Only registered and activated users can see links. Click Here To Register...]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. what the white page
    By ranabdboy in forum Coding Forum
    Replies: 3
    Last Post: 08-10-11, 16:28
  2. Changing Time on SE 3.20
    By tsinelas in forum Coding Forum
    Replies: 4
    Last Post: 30-04-10, 06:33
  3. white page error
    By mentalhosting in forum Site / Script testing and error fixing
    Replies: 16
    Last Post: 13-09-09, 14:29
  4. mr.white corrner
    By mrwhite in forum Sites / Links
    Replies: 0
    Last Post: 21-03-09, 15:57
  5. Changing Perm
    By learner in forum Coding Forum
    Replies: 34
    Last Post: 16-02-08, 13:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19