HTML and CSS Reference
In-Depth Information
creates four columns: the first column occupies 10 percent of the overall
width of the display. The browser then gives the second frame three-
fifths of the remaining space, and the third and the fourth are each given
one-fifth of the remaining space.
Using asterisks (especially with the numeric prefix) makes it easy to di-
vide the remaining space in a frameset.
Be aware, too, that unless you explicitly tell it not to, the browser
allows users to resize the individual frame document's columns and rows
manually and, hence, change the relative proportions each frame occu-
pies in the frame's display. To prevent this, use the noresize attribute
for the <frame> tag, which we describe later. [ <frame>, 11.4.1 ]
11.3.1.2. The border, frameborder, framespacing, and bordercolor
attributes
The popular browsers provide attribute extensions that you may use to
generally define and change the borders surrounding the frames in a
frameset. The HTML 4 and XHTML standards prefer instead that you in-
clude these border-related display features via Cascading Style Sheet
(CSS) styles.
By default, every frame in a frameset is surrounded by a thin 3D border
(see Figure 11-1 ) . Make these borders uniformly thicker or get rid of
them altogether with the border attribute for the <frameset> tag. Set the
value of border to 0 to turn off borders (see Figure 11-2 ). The value 1
is the same as the default. To uniformly increase the width of all the
frame borders in the frameset, set the border attribute value to an in-
teger greater than 1.
 
Search WWH ::




Custom Search