This is an ad.
 
Webmonkey Kids
Webmonkey Kids
Lessons
Projects
Playground
Tools

Introduction
icon Frames Are a Picnic
Building the Frameset
More Chicken!
Adding the Frames
Sizing the Frames
Hanging the Frame



Parents and Teachers:
Find out how your kids can use Webmonkey for Kids as a learning tool at home or in the classroom with our Planning Guide.

Send us feedback

Lesson B: Frames
More Chicken!


o the next question is: How big do we want each column to be? We can size them either by percentage of the screen width or by a certain number of pixels, which are the tiny little dots that make up a computer screen. In this case, let's say that we really like chicken, and we want chicken.html to take up about two-thirds of the screen, leaving only one-third for the other portions.

Our frameset will look like this:

<frameset cols="66%,34%">

Now there are two columns. The first (or left-hand) column will take up 66 percent of the screen width (which is about two-thirds of the total width), and the second (or right-hand) column will take up the remaining 34 percent of the screen width. (Note: Percentage numbers are separated by a comma without any spaces, and the two numbers must add up to 100.)

Back

Next Page