Formatting Frames and Framesets

Now let’s look at some ways to change the appearance of the frameset. By default, a frameset has a movable divider between the frames. People viewing your page can drag this divider to change the sizes of the frames. To prevent Web site visitors from moving a frame’s dividers, add a noresize="noresize" argument to the frame’s opening tag:

<frame src="masthead.htm" name="topFrame" noresize="noresize">
Formatting Frames and Framesets

By default, the divider between frames is five pixels wide. To change the width of the divider, use the border argument in the frameset tag:

<frameset rows="86,*" cols="*" border="10">

Important

Internet Explorer does not ...

Get HTML and XHTML Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.