Lesson 2: (The Body) Background Images and Colors | |||||
*Objective: After completing this lesson, you will be able to design a webpage using background images and colors. | |||||
To keep things a little cleaner I am only going to write what is in the tags. I will omit the , & |
|||||
Type something really cool.
Something really cool
IMPORTANT NOTE: Whenever you make a change to your document, just save it, then hit the Refresh/Reload button on your browser. In many instances just hitting the refresh button doesn't quite do the trick. In that case... I think the first thing we are going to learn is how to change background colors.
Something really cool
CCFFCC is computer code for light green. The topic of colors and browsers is rather interesting and is covered in advanced lessons. You can specify a background image instead. (Note: the image should be in the same folder as your HTML file.)
Something really cool
In order for the image to show up, the browser has to be able to find it. For now, we want the image to be in the same folder as your HTML document ( page1.html). The easiest way to do this is to right click on the swirl image above and choose Save Image As (or some variant thereof). Browse to wherever you put page1.html and save the image there. Later we'll get into this stuff in a little more detail. It's probably pretty obvious that the image is tiled. If you use a long skinny image you can get an effect like this...
Something really cool
Here's the background image FAQ: I've seen pages where the background is fixed and the page just scrolls over it. How can I do that? Keep in mind this little doodad is Internet Explorer specific. That is, only people using Internet Explorer or IE based browsers will be able to see it. |
Updated: Wednesday, 2 June 2004 3:50 PM CDT
Post Comment | Permalink | Share This Post