Introduction
Account Policies
Problem Solving
Instructor Help
General help by subject
Hypertext and the web
Remote access
Contact NWE Help
Main help page
NWE Help: Web: Authoring: Tips: Background Color
NWE Home :: Help :: Web :: Authoring :: HTML :: Tips
Another trick (silly or not) involves changing the background color of your web page with a rollover.
Copy and paste this code wherever you want a link to activate a background color change from white to orange (the change occurs when the cursor moves over the link, not when it clicks on the link):
<a href="" onMouseOver="document.bgColor='orange'" onMouseOut="document.bgColor='white'">Change the background!</a>
This code should work with simple color names like blue, green, white, etc. Simply substitute the color of your choice between the single quote marks. Here's the code in action:
