1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Help with CSS for co-op

Discussion in 'CSS' started by thebassman, Aug 24, 2005.

  1. #1
    ok, I have the following code:

    <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network_357.php'); echo $ad_network; ?>
    PHP:
    and I want to make it white.

    I'm coding retarded... please help me. ;)
     
    thebassman, Aug 24, 2005 IP
  2. Macbert

    Macbert Peon

    Messages:
    27
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try adding the following code in the head element of the page where you want to include the links. This will make all text and links white.

    
    <style type="text/css">
      div.co-op,
      div.co-op a { 
        color: #fff;
      }
    </style>
    
    HTML:
    Wrap the co-op section inside a div with the class name set to "co-op", like this:

    
    <?php
      ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
      include ('ad_network_357.php');
      $ad_network = '<div class="co-op">' . $ad_network . '</div>';
      echo $ad_network;  
    ?>
    
    PHP:
    That should do the trick...
     
    Macbert, Aug 24, 2005 IP
    thebassman likes this.
  3. thebassman

    thebassman Asleep at the Keyboard

    Messages:
    1,105
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Thanks! Worked perfectly. :)
     
    thebassman, Aug 24, 2005 IP