<frameset>
and <frame>
tags to modify and (hopefully) improve their appearance and usability.framespacing
attribute and the border
attribute in the primary <frameset>
tag of your frameset document. The value used in each attribute represents the width in pixels. (Note that the frameborder
attribute must be either absent or have its value set to "yes"
.)<html>
<head>
<title>HTML Frames - An Advanced Frame Layout</title>
</head>
<frameset rows="20%,80%" framespacing="20" border="20">
<frame src="header.htm">
<frameset cols="25%,75%">
<frame src="menu_adv.htm" name="menu">
<frame src="chapter1.htm" name="content">
</frameset>
</frameset>
</html>
framespacing
and the border
attributes in a nested <frameset>
start tag. <html>
<head>
<title>HTML Frames - An Advanced Frame Layout</title>
</head>
<frameset rows="20%,80%">
<frame src="header.htm">
<frameset cols="25%,75%" framespacing="20" border="20">
<frame src="menu_adv.htm" name="menu">
<frame src="chapter1.htm" name="content">
</frameset>
</frameset>
</html>
framespacing
and border
attributes in your primary frameset and then use the frameborder="no"
attribute/value pair in the nested frameset.<html>
<head>
<title>HTML Frames - An Advanced Frame Layout</title>
</head>
<frameset rows="20%,80%" framespacing="20" border="20">
<frame src="header.htm">
<frameset cols="25%,75%" frameborder="no">
<frame src="menu_adv.htm" name="menu">
<frame src="chapter1.htm" name="content">
</frameset>
</frameset>
</html>
framespacing
and border
attributes while Gecko-based browsers only support the border
attribute. It's best to cover all the bases and use both framespacing
and border
when setting frame border widths.)frameborder
attribute in the primary <frameset>
tag of your frameset document and set the value to "no"
(default is "yes"
). <html>
<head>
<title>HTML Frames - An Advanced Frame Layout</title>
</head>
<frameset rows="20%,80%" frameborder="no">
<frame src="header.htm">
<frameset cols="25%,75%">
<frame src="menu_adv.htm" name="menu">
<frame src="chapter1.htm" name="content">
</frameset>
</frameset>
</html>
frameborder
attribute in the <frame>
tags of your frameset document and set the value to "no"
(default is "yes"
). This will remove the borders only from the frames you apply the setting to.<html>
<head>
<title>HTML Frames - An Advanced Frame Layout</title>
</head>
<frameset rows="20%,80%">
<frame src="header.htm">
<frameset cols="25%,75%">
<frame src="menu_adv.htm" name="menu" frameborder="no">
<frame src="chapter1.htm" name="content" frameborder="no">
</frameset>
</frameset>
</html>
Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates
See also:
If you need a .COM web address, you can get one quick and easy at...
<~ BACK | TOP | NEXT ~> |