Resizing frames

By default, you can change the size of the frames with the mouse cursor, pointing it to the border between the frames. To block the possibility of the user changing the frame size, use the noresize parameter of the <FRAME> tag (example 1).

Example 1. The prohibition on changing the size of frames

Valid HTML
<! DOCTYPE HTML PUBLIC "- // W3C // DTD HTML 4.01 Frameset // EN" "http://www.w3.org/TR/html4/frameset.dtd">
<Html>
<Head>
<Meta http-equiv = "Content-Type" content = "text / html; charset = windows-1251">
<Title> Frames </ title>
</ Head>
<Frameset cols = "200, *">
<Frame src = "menu.html" name = "MENU" noresize >
<Frame src = "content.html" name = "CONTENT">
</ Frameset>
</ Html>

The parameter noresize does not require any values ​​and is used by itself. For the case of two frames, this parameter can be specified only in one place. Naturally, if one frame can not be resized, then the size adjacent to it will not change either.

Copyright © www.htmlbook.ru