http://fishcaro.crosswinds.net/day_37_grids.htm
INDEX CARD #37:
WHAT IS A GRID? (37a)
ROWS and
COLS attributes in the <FRAMESET> tag,
as discussed in card 37b. However, non-grid structures must use the
idea of NESTING FRAMESETS, which is discussed in Lesson 38.
| |||||||||||||
CREATING A GRID (37b)<FRAMESET> tag, like this:
You must have one <FRAME> tag for each cell.
If you have m rows and n columns, then you will
need mn <FRAME> tags. The order that you list the
frames inside the <FRAMESET>
container IS IMPORTANT! Frames are loaded top-to-bottom
and left-to-right. That is, left-to-right along the first row. Then,
left-to-right along the second row. And so on.
There is lots more information on specifying the comma-separated lists of rows and columns on cards 37c, 37d, and 37e. |
WAYS TO SPECIFY SIZE: (37c)
|
WAYS TO SPECIFY SIZE: (37d)
|
WAYS TO SPECIFY SIZE: (37e)
|
MIXING SIZE SPECIFICATIONS (37f)<FRAMESET ROWS="25%,100,3*,*" COLS="*,30%,2*"> The first row is 25% of the available height. The second row is 100 pixels high. The remaining height is divided into four equal portions: the third row gets three of these portions, and the fourth row gets only one. The second column is 30% of the available width. The remaining width is divided into three equal portions: the first column gets only one of these portions; the last column gets two of these portions. Be sure to change the window size and see what happens! |
Printable version of Index Card 37a
Printable version of Index Card 37b
Printable version of Index Card 37c
Printable version of Index Card 37d
Printable version of Index Card 37e
Printable version of Index Card 37f
WORKSHEET #37:
Create each grid below. (Don't cheat by VIEWing the SOURCEcode until you've
tried them yourself!)
ASSIGNMENT #37:
<!-- HERE IS THE LINK TO THE GRID STRUCTURE.-->so that I can easily find this when I grade your homepage.