Hey Hey Guys, Whitey from UberSkilled.com here. Listen, my background colour on my page is black, and the ads you've given me have black text on them. I've tried both of these solutions: <?php //ad_network.php ads ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network.php'); echo "<font color = \"silver\">" . $ad_network[0] . "</font>"; ?> and this one <?php //ad_network.php ads ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network.php'); echo "<div class = \"maint\">" . $ad_network[0] . "</div>"; ?> (maint is the stylesheet class for main text - which is silver) I really do want to show these ads, for one obvious reason, because mine will be shown, but also ads actually make your site look professional and look like it's doing something. Thanks guys /Whitey
I have mine like this: echo "<DIV align='center'><DIV class='style26'>$ad_network[0]   $ad_network[1]   $ad_network[2]   $ad_network[3]   $ad_network[4]</div>"; Shows 5 centered ads The problem with your code is that you are closing your " in the wrong way.
Thanks FryMan, but nope . I tried the code you said (obviously replacing your class with mine) and it didnt work. So i tried this one: echo "<DIV align='center'><font color = 'silver'>$ad_network[0]   $ad_network[1]   $ad_network[2]   $ad_network[3]   $ad_network[4]</div></font>"; ?> Same thing, but with the font tag under silver. Still didn't work. when i view the source of my page after its uploaded, the tags still there, but it just doesnt do anything. http://www.UberSkilled.com/index.php#bads
You can use a <SPAN> or <DIV> tag for this. However you have to assign a class to the "A" link value for these. For example: DIV A:LINK { Your styles here } DIV A:VISITED { Your styles here } DIV A:HOVER { Your styles here }
Why do you need to know that? You can put whatever styles in the brakets you want....are you talking to me fryman?
my styles are as follows: <style type="text/css"> .maint { color: silver; font-size: 85%; } .menut { color: silver; font-size: 95%; } .head0 { color: silver; font-size: 105% } .head1 { color: silver; font-size: 125%; } .head2 { color: silver; font-size: 145%; } .sig { color: silver; font-size: 105%; font-style: italic; } .highlight { background-color: orange; color: purple; font-size: 95%; } .sideads { color: yellow; font-size: 73%; } .copy { color: silver ; font-size: 75%; } .smallemail {font-size: 75%; } body { background-color: #000000; } a { color : silver; } </style> . I tried the span tag, nope. im trying to make it maint (as defined above) /Whitey
I had the idea for the digitalpoint admins to update the network.php file so that you can set up the font color as well as the bgcolor. currently you can set: http://ads.digitalpoint.com/network.php?color=000000&b=http://www.UberSkilled.com/ background color is $color and host is $b if they had $fcolor to echo into the font color spot. in the actual ad generating code, it has <font size = "-1"> which is why it is canceling out my <font> tag i'd say. they could change it to <?php $fcolor = "000000" if (isset($_GET['fcolor'])) { $fcolor = $_GET['fcolor']; } <font size = "-1" color = "#<?php echo "$fcolor" ?>"> something like that would make the script much more customizable, wouldn't it? /Whitey