Attribute for <FRAME ...>
NORESIZE

NORESIZE says that the user cannot make the frame bigger or smaller by sliding the borders. Normally the user can put the mouse over the border and move the border left/right or up/down. NORESIZE disables that ability. All borders that run along the frame are effected. For example, this code uses NORESIZE with the frame for the title bar, and so the border along the bottom of the title bar title bar cannot be resized. However, the two frames at the bottom of the page can still be resized by moving the border left and right.

this code produces this
<HTML>
<HEAD>
<TITLE>Great Recipes</TITLE>
</HEAD>
<FRAMESET ROWS="20%,*">
<FRAME SRC="recipetitlebar.html" NAME=TITLE NORESIZE>
<FRAMESET COLS="20%,*">
<FRAME SRC="recipesidebar.html" NAME=SIDEBAR>
<FRAME SRC="recipes.html" NAME=RECIPES>
</FRAMESET>
<NOFRAMES>NOFRAMES stuff
</NOFRAMES>
</FRAMESET>
</HTML>
this page

NORESIZE is the single most hated feature in frames. By disabling resizing, you are forbidding the user from adjusting the screen more optimally. If your text or logo doesn't quite fit in the space allowed, the user is left to wonder what they are missing, and this just makes your site look bad. Avoid NORESIZE.





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.