HTML and CSS Reference
In-Depth Information
Similarly, the id attribute uniquely identifies a frame, but the browsers
do not support its use for target redirection, even though they do sup-
port id 's use as a hyperlink target in many other HTML and XHTML tags.
The value of the name or id attribute is a text string enclosed in quotation
marks.
11.4.1.3. The noresize attribute
Even though you may explicitly set frame dimensions with attributes in
the <frameset> tag, users can manually alter the size of a column or row
of frames. To suppress this behavior, add the noresize attribute to the
frame tags in the row or column whose relative dimensions you do not
want users fiddling with. For example, for a two-by-two frame docu-
ment, a noresize attribute in any one of the four associated frame tags
effectively freezes the relative proportions of all the frames.
The noresize attribute is especially useful for frames that contain fixed
images serving as advertisements, a button bar, or a logo. By fixing the
size of the frame to contain just the image and setting the noresize at-
tribute, you guarantee that the image is displayed in the intended man-
ner and that the remainder of the browser window is always given over
to the other frames in the document.
11.4.1.4. The scrolling attribute
The browser displays vertical and horizontal scroll bars with frames
whose contents are larger than the allotted window space. If there is
sufficient room for the content, the scroll bars disappear. The scrolling
attribute for the <frame> tag gives you explicit control over whether the
scroll bars appear or disappear.
With scrolling="yes" , all the popular browsers except Netscape add
scroll bars to the designated frame even if there is nothing to scroll. If
you set the scrolling attribute value to no , scroll bars are never added
to the frame, even if the frame contents are larger than the frame it-
 
Search WWH ::




Custom Search