Frames

dy> tag for frame page. If you put the <body> tag before <frameset>, some browsers will not show the frames.

Look at my first mark [], <FRAMESET COLS="100%" ROWS="60,*" border=no frameborder=0 framespacing=0>. We create frames with the opening tag <FRAMESET>. Within this tag, we specify column and row attributes.

As you may notice, this page is divided into two rows. We first specify column width = 100% (COLS="100%") and the height of the first row = 60 pixels (ROWS="60,*"). The asterisk mark [*] is the value of whatever space that left below. That means the second row will use the rest of the space. You also can specify the value in % such as ROWS="60%,40%", but specifying the value in pixels will give you greater control over page composition.

Next, you will see that we have borderless frames here. This is possible by specifying border=no frameborder=0 framespacing=0. Generally, if you don't want borderless frames, you don't need to use border=, frameborder= and framespacing= attributes. You can just put this <FRAMESET COLS="100%" ROWS="60,*">, and the browsers will create frames with border for you.

Look at my second mark [], <FRAME NAME="upper" SRC="frameup_frame.htm" SCROLLING="NO" NORESIZE>. <FRAME> is used to specify the file inside <frameset>. I have to create a file and put it in SRC=" ". On this page, the upper frame is named upper. SCROLLING="NO" means visitors don't have an ability to scroll up and down the page. You can put "yes" or "no". If you don't specify "auto" is the default value. Auto scrolling means the browsers will determine whether this section fit into the screen or need scrolling. NORESIZE means viewers of this page cannot put their mouse between the frame and resize it. If you don't specify this, they will be able to resize your frame.

©2008 WOWhostingCatalog.com. All Right Reserved. Privacy