![]() |
By default when you create frames, you get frame borders. By editing the HTML of the frames page you can get rid of the borders. To get rid of borders on all frames, put the following parameters in the outer most frameset tag:
frameborder="0" framespacing="0" border="0"
If you open the source in notepad, the 'frmain.htm' page would look something like:
<frameset rows="72,*" cols="120,*">
<frame src="frhome.htm" name="frhome" marginwidth="4"
marginheight="1" scrolling="no">
<frame src="frbanner.htm" name="frbanner" marginwidth="4"
marginheight="1" scrolling="no">
<frame src="frindex.htm" name="frindex" marginwidth="4"
marginheight="1">
<frame src="frone.htm" name="frdisplay" marginwidth="4"
marginheight="1">
</frameset>
You would change the frameset tag from
<frameset rows="72,*" cols="120,*">
To:
<frameset frameborder="0" framespacing="0" border="0" rows="72,*" cols="120,*">
This would get rid of the borders on the frames.
If you want to get rid of only some of the borders, things get messy between MSIE and Netscape. You may want to make a copy of your frames page and play a little, but the easiest is to either have all borders, or no borders.
frameborder: controls whether you have a 3-d
border or not, it can appear either on a frameset or frame tag,
if it is not on the frame tag, it is inherited from the frameset.
This tag more or less works the same in Netscape and MSIE, if you
let it default (don't use it) for On and use "0" for
Off. Officially MSIE uses "1" and "0", and
Netscape uses "YES" and "NO"
framespacing: this is for MSIE, it is the width
of the border in pixels. This can either be on the framset tag or
the frame tag, if it is not on the frame tag, it is inherited
from the frameset tag.
border: this is for Netscape, it is the width of
the border in pixels. According to Netscape, this can only be
used on the outermost frameset tag.
[Home] [ScrapBook] [Chat] [Links] [Contact] [FrontPage]
This page hosted by Get
your own Free Home Page
JES - 03/29/98