Реферат: How To Do Frames On Web Sites
First of all, name the three html documents index.html, the
page used for dividing it into frames; side1.html, the left column of the
page used for the menu; and main.html, the page for viewing a
specific page within the web site. Make sure the following html code is
used in the index.html page: *FRAMESET cols=”100,*?*
src=?side1.html?* . The *
simply means the space that is left over on the web page. The 100
means that the first frame is 100 pixels wide. That code should be
used to divide a page into two columns. Be sure to adjust it to the
size needed for the web site.
Dividing a page into rows uses the same concept; however, the
code is slightly different. Use the same three html
documents: index.html, side1.html, and main.html. This code should
be used in the index.html page:
src=?side1.html?* .
A person can also decide whether he/she wants the frame to
have scrollbars or borders. It should be specified in the tag
like this:
src=?side1.html? scrolling=?no? border=?false?*
src=?main.html? scrolling=?yes? border=?false?*. That code will make
the left column not to have scrollbars whereas the main column will
have scrollbars.
It is possible to divide a page into more than two frames, but
they must be specified in the tag, and more html
documents will have to be made. For example,
rows=?65,*,65?* will divide a page into three rows in which the
first and last will be 65 pixels tall, while the middle will be what is left
over.
Sometimes when too many frames are used, it is confusing to