Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,053 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,606 people online right now. Registration is fast and FREE... Join Now!




Color changes

 
Reply to this topicStart new topic

Color changes

rodstol
31 Jul, 2008 - 12:45 PM
Post #1

New D.I.C Head
*

Joined: 3 Apr, 2008
Posts: 39

A buddy finished a search script for me and I got it installed fine, how ever with a dark background I need light text.
How do you change the color of the text and links, ie: search results, that are created by a CGI script?
User is offlineProfile CardPM
+Quote Post

KevinADC
RE: Color Changes
31 Jul, 2008 - 11:07 PM
Post #2

D.I.C Head
Group Icon

Joined: 23 Jan, 2007
Posts: 214



Thanked: 3 times
Dream Kudos: 50
My Contributions

Find the part of the script that is generating the html code and just edit the html . For example, if the script does this:

CODE
print "<font color=red>$foo</font>";


you can change the code to:

CODE
print "<font color=blue>$foo</font>";


of course that is a ridiculously simple and stupid example but hopefully it points you in the right direction.

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 05:50PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month