0

Hi, I need help with my assignment. Basically I have to make a html page and have the output display in a .cgi file. I am able to change the font and colors in the html page but the output of my cgi file comes out in black font. I was wondering if anyone knew how to change the color of the font in the output displayed?

4
Contributors
3
Replies
5
Views
5 Years
Discussion Span
Last Post by WaltP
0

What you need to do is have the CGI script actually generate an HTML page, rather than simply printing back plain text.

Can you post the relevant code (using CODE tags if you please)? It would make it much easier to discuss this if we could see the program in question.

Edited by happygeek: fixed formatting

-1

hi regarding to your problem on how to change the text background color and text is simple like this.

#include<iostream.h>
#include<conio.h>
#include<dos.h>
main()
{
textbackgroundcolor(BLUE);
textcolor(YELLOW);

clrscr();
cout<<"/n/n/t/t/t HENRY";

getch();
return 0;
}

ok? just try..

For get more answer visit

Edited by WaltP: Linking to an unapproved website for extremely old techniques.

Votes + Comments
Get away from out-of-date compilers!!!
0

And what if you aren't using decades-old technology? What if you're using any compiler released between 2000 and now? Or even any old compiler that isn't Turbo?

Edited by WaltP: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.