RachelPautler.com

Ill-gotten treasures are of no value, but righteousness delivers from death.
- Proverbs 10:2 NIV

Cooking Poetry HTML Artwork Links Romance Home

Using Frames

Frames are used as an easy site navigation tool. If someone has a difficult time finding the important links on your site, they will probably leave. Frames allow you to keep those links on the screen at all times, while the rest of the screen contains your information. For example, the books on the left that link you to different places in this site are always in the same position on the left. However, you are able to scroll through the text you are reading now.

Some disadvantages to using frames so exist. For instance, older browsers and readers for the visually challenged cannot interpret frames. To handle the problem with the older browsers, some people prefer to use tables instead of frames. Another option is to create two versions of your web page: one with frames and one without. However, the only way to make your site accessible to the readers is to not use frames or tables. Style Sheets work best in those situations.

Frames are denoted by the tags:

bullet<FRAMESET> . . . </FRAMESET> -- Attributes may include 'cols= ', 'rows= ', 'framespacing= ', and 'scrolling= '.
bullet<FRAME> . . . </FRAME> -- Attributes may include 'marginheight= ', 'marginwidth= ', 'name= ', 'noresize= ', 'src= ', and 'scrolling= '.
bullet<NOFRAMES> . . . </NOFRAMES> -- This is what denotes the beginning and end of what you wish to display to those browsers that cannot interpret frames.

Frame related attributes include:

bulletCOLS=((#% or # or *), (#% or # or *)) -- This may be used to create the frames as columns. The first number listed, as either a percentage of the page or a pixel value, defines the width of the first column. You may also give a percentage or pixel value to define the second column. However, using the '*' will allocate all of the remaining width to the first or second column, depending on where it was used. It is used in the 'FRAMESET' tag.
bulletROWS=((#% or # or *), (#% or # or *)) -- This may be used to create the frames as rows. The first number listed, as either a percentage of the page or a pixel value, defines the height of the first row. You may also give a percentage or pixel value to define the second row. However, using the '*' will allocate all of the remaining height to the first or second column, depending on where it was used. It is used in the 'FRAMESET' tag.
bulletFRAMESPACING=# -- This may be used to set the spacing, in pixels, between the frames. It is used in the 'FRAMESET' tag.
bulletSCROLLING=(YES, NO, or AUTO) -- This will determine whether or not scroll bars are shown for frames. It is used in the 'FRAMESET' and/or 'FRAME' tags.
bulletMARGINHEIGHT=# -- This may be used to define top and bottom margins in the frame. It is used in the 'FRAME' tag.
bulletMARGINWIDTH=# -- This may be used to define left and right margins in the frame. It is used in the 'FRAME' tag.
bulletNAME="?" -- This defines a target name for the frame. (Type your name instead of the '?'.)
bulletSRC=# -- This specifies the source file for the frame.
bulletNORESIZE -- This keeps the user from being able to resize the frame on his/her browser.
 
Copyright © 2005 Rachel Pautler
Last Modified: Tuesday, July 17, 2007
Send mail to rachel@rachelpautler.com with questions or comments about this web site.