On one of my pages i am extracting the latest forumposts to a .php frontpage, but the ting is that the latest forumposts links is blue, and the background color of my page is blue. ( You can see it on the left side of www.marketingpatch.com ) Anyone that can help me make these links white ? / Ronny
site wouldn't load for me... at least not in a reasonable amount of time. The forum software should have an area to configure your colors, if not just add a css style declaration: a { color: #FFFFFF; } PHP: or I believe a allows a style declaration inline: <a href="blah" style="color: #FFFFFF">link</a> PHP:
Thanks, there is some issues with the server, it should be working normally soon. The code i use to extrackt these latest forum posts links are: <script type="text/javascript" src="http://www.marketingpatch.com/forums/external.php?type=js"></script><br> <script language="" type="text/javascript"> <!-- for (i = 0; i < 5; i++) { document.writeln("<a href=\"http://www.marketingpatch.com/forums/showthread.php?threadid="+threads[i].threadid+"\">"+threads[i].title+"</a><br /> - by: "+threads[i].poster+"<br />"); } //--> </script> PHP:
Change the following line in your code: document.writeln("<a href=\"http://www.marketingpatch.com/forums/showthread.php?threadid="+threads[i].threadid+"\" style=\"color:#FFFFFF\">"+threads[i].title+"</a><br /> - by: "+threads[i].poster+"<br />"); Code (markup): The important piece is the addition of: style=\"color:#FFFFFF\"