Invisible Frames
Making the scrollbars and lines disappear
To give your page invisible frames, you will need to add some commands to your frameset tag,
and adjust your frame tags to your liking. Here some code that will give you two frames, and
the border between them will be invisible.
<frameset cols="20%,80%" border="0" framespacing="0" frameborder="0">
<frame src="page1.htm" name="left_frame" scrolling="no" />
<frame src="page2.htm" name="right_frame" />
</frameset>
As you can see, there are three new commands in the frameset tag:
- border="0"
Sets the borders to zero so they do not appear. - frameborder="0"
Sets the frameborders to zero so they do not show up. - framespacing="0"
Sets the spacing of the frames so that there won't be a gap between frames.
Also remember to set the scrolling attribute to "no" in one or all of the frame tags. In the example, I set the left frame for no scrolling, so the frame would be invisible. I let the right frame use the default, so scrollers are only added as needed for the right frame.
So, take a look at the example page and see how it looks!
Well, that about does it for that. The next section is on inline frames. So, let's move on to the next section, Inline Frames.
--------------------
Copyright © 1997-2008 The Web Design Resource. All rights reserved. Disclaimer.
Copyright © 1997-2008 The Web Design Resource. All rights reserved. Disclaimer.
