Link Color and Form Addresses

CS 105 Gossip Corner: Discussions related to the HTML Project: Link Color and Form Addresses
By
Dolloff, Jennifer L. (01jld) on Saturday, December 5, 1998 - 04:08 am:

Prof. Murtagh:

I have two questions:

Is there someway to change the blue/red color of the links (it really clashes with every thing)? I could have sworn their was a way, but I can't figure out what it is.

On a form, should the action be to mail it to my e-mail address (and not the CGI-bin thing). Should the method still be "get" either way?

Thanks


By Tom Murtagh (Admin) on Saturday, December 5, 1998 - 10:42 am:

You can change the color of links using an attribute of the body tag similar to the BGCOLOR and BACKGROUND attributes of that tag that let you control the appearance of the background.

The LINK attribute of the BODY tag would be used (very much like the BGCOLOR attribute) of the BODY tag to set the color for links. So you might use something like:

<BODY BGCOLOR=FFFFFF LINK=AA0099 ...>

to change the link color.


If you include a form in your site, probably the most appropriate thing to do would be to set it up to email the results to you as we did in the forms lab. In this case, you should set the METHOD to POST and use a URL of the form

http://www.cs.williams.edu/cgi-bin/mail?your-cs-user-id

for the ACTION attribute.

Tom


Add a Message


This is a private posting area. A valid username and password combination is required to post messages to this discussion.
Username:  
Password:
Post as "Anonymous"