Section 2 - Basics Section 4 - Advanced Fancy Lists Forms Advanced Tables Frames About frames Frameset Frame source & name Target & Noframes Frameset borders, etc. Scrolling & Resizing Should you? Try it Style Sheets Image Maps Section 5 - Publishing Section 6 - Extras Appendices |
You now know how to make and use basic frames. Now that you know the basics, you can begin to modify your framed pages to look any way you'd like. In this lesson, you'll learn to modify the borders around the frames to be as wide or as narrow as you'd like. You can even make them disappear entirely. The first command you will learn is framespacing. This tells the computer how much space to leave between frames. This goes in the <frameset> tag. It looks like this:
As you can see, there is a much larger border between the frames. The next thing you can do to modify the frames is to specify whether you want a two-dimensional or a 3D border. This is done with FRAMEBORDER command. This also goes in the <frameset> tag. Let's keep the same frames seen above and show you what it looks like with and without the frameborder. The default for frameborder is "yes." Let's look at the frameborder on and off.
Finally, there is one more command we'll discuss here. That is the "border" command. The frameborder is either a "yes" or "no," but this border is one you can resize. Let's look at the frames we've already made. On each, let's put a border with a width of 4 pixels. (One is the default.) Here's how you make that command and what it looks like:
If that wasn't entirely clear, my apologies. The spacing and border seem to do about the same thing. Just be aware that both codes may be available. Have fun experimenting with these. |