One More Little Trick
Here's What Happened
I think that's the neatest effect these frames offer. Here's the code I used to make the frames:
<IFRAME SRC="inf8.html" FRAMEBORDER="0" NAME="left"></IFRAME>
<IFRAME SRC="inf9.html" FRAMEBORDER="0" NAME="right"></IFRAME>
See the FRAMEBORDER="--" command I added? That's what did the trick. You have two settings to choose from, 1 and 0. One is the default. That gives you the slightly indented frame look I had above. Zero loses the frame altogether. That's what I did in this case. AND... since I made the two source pages the same color as the main page -- without the borders -- it looks like the frame is simply part of the same page. I go with the blank look on the right by creating a page that was the same color as the main page, but contained no text. I think it's a great effect.
A Few Other Commands
Here are a few more commands that you can use in order to alter the frames on your page. Each is fairly self-explanatory and doesn't really require an example. I've used them all just to make sure they work. Just stick the command, with whatever setting you want, into the IFRAME command to see it work.
- HEIGHT="--": This acts just like the height command in terms of an image (see here). It defines the frame's height, in pixels or percentage.
- WIDTH="--": Ditto this one in terms of frame width.
- MARGINWIDTH="--": This sets the margin width in either pixels or percentage.
- MARGINHEIGHT="--": Ditto, but on height.
- SCROLLING="--": If the information inside the frame is too long to display, then a scroll bar will appear. You can stop it by adding this command set to "no."
- ALIGN="--": This works like the align command in terms of
images. It denotes where text will appear when surrounding the frame.
- NORESIZE: Add this, and the user will not be able to resize your frame.
[The Basic Format]
[Multiple Frames]
[I Want A Button]
[One More Little Trick]
[A Few Other Commands]