Cape May County ETTC Technology Proficiency Courses
TPC16-3 - Web Based Projects (Web Design III)
Tables
Tables are very useful in web pages. They can be used to precisely arrange
text and graphics on a web page. Look at the examples below.
Table examples
http://html.about.com/compute/html/library/weekly/aa122797.htm
- some reasons to use tables
http://24hourhtmlcafe.com/hour15/fearful2.htm
- basic table
http://24hourhtmlcafe.com/hour15/fearful3.htm
- still a basic table
http://browserwatch.internet.com
- created using tables
http://24hourhtmlcafe.com/look/look.htm
- graphics and tables
http://24hourhtmlcafe.com/hour15/tabula.htm
- tables within tables
http://www.lucifer.com/~sasha/thinkers.html
- more tables
http://www.cyberbits.com/Tables/tablmain.htm
- click on columns and rows
We will use a table to create a calendar of events.
- Open Front Page and start a new blank document.
- At the top of the page type in Calendar of Events. Press the enter key a few
times.
- Change the title of the page to read Schedule of Events and change the
background color.
- Click on the Table Menu. Point to Insert and click on Table. A menu will
appear. The width will set how wide the table, set it to 80 percent.
- Choose 5 columns and 4 rows.
- Leave everything else alone for now.
- Click on the OK button. The table should now appear.
- Save this calendar page to your disk. Name the file Calendar.htm (remember
the program automatically puts the .htm at the end of the file name, you only
need to type Calendar).
Entering and Formatting Text in a Table
- Click in the first cell. Type in Monday. Press the Tab key (the cursor
should jump to the next column, same row). Type Tuesday. Press the Tab key
and type Wednesday. Add Thursday and Friday to the last two columns.
- Right-click in the cell where you typed Thursday. Choose Cell Properties
from the menu. Change the border and background colors. You can also change
the alignment (center, left, right) from this window.
- To add more rows, click in the last cell in the last column. Press the tab
key. A new row should start.
- To add column click in a cell to the right or left of where the new column
is to be placed. Click on Table in the Menu Bar and point to Insert. Choose
Rows or Columns. Choose where to put the column in relation to where the
text cursor is located. Click on OK.
- Right-click anywhere in the table. Choose Table Properties from the menu.
Change the width from 80 to 100. Click the OK button. Using 100% width will
insure the table adjusts to any size screen. You may want to set the table
to 90% to allow for the "white space" margin discussed earlier in
this course.
- Right-click anywhere in the table. Choose Table Properties from the menu.
Change the cell padding and cell spacing to 10. Click on OK and examine your
table.
- You can also change the border. Use 0 to make the gridlines disappear. By
default, if a cell is empty, the cell border will not be drawn. To force a
cell to display, click in the cell and press the space bar.
Using a table and graphics to create a navigation bar
- Use Ctrl + End to place the text cursor at the bottom of your Calendar
page.
- Click on the Table Menu. Point to Insert and click on Table. A menu will
appear. The width will set how wide the table, set it to 60%.
- Choose 4 columns and 2 rows.
- Leave everything else alone for now.
- Click on the OK button. The table should now appear.
- Click in the first cell. Click on the Picture button found on the Standard
toolbar. Insert a picture from the Icon folder found on the Desktop
(pictures downloaded from http://www.iconbazaar.com
)
- Move the text cursor to the first cell of the second row. Type the word
Home.
- Click once on the picture to select it. Click on the hyperlink button.
Click on the File Browse button and navigate to the disk with your index
page on it. Click on your Index file and click the OK button. Click OK.
- Place the text cursor in the second cell of the first row and insert
another picture. Type in the word Calendar.
- Link this picture to the Calendar page.
- Insert a third button and link it to one of your other web pages.
- Select the entire table and choose Center from the Format Toolbar.
- Test your links in the browser.
- You can select the entire table and copy it to your other pages.
Dynamic HTML
FrontPage has some neat effects you can add to your web page.
- Make sure the Calendar page is open and select the Heading.
- Open the Format Menu and choose Dynamic HTML Effects (if you do not see
the option, point to the double arrows pointing down at the bottom of the
menu and wait a moment for the menu to expand).
- Click the drop down menu for the On box and choose Page Load.
- Click the drop down menu for the Apply box and choose Spiral.
- Highlight the text for the Home link in your navigation bar at the bottom
of the page.
- Open the Format Menu and choose Dynamic HTML Effects (if you do not see
the option, point to the double arrows pointing down at the bottom of the
menu and wait a moment for the menu to expand).
- Click the drop down menu for the On box and choose Mouse Over.
- Click the drop down menu for the Apply box and choose Formatting.
- Click the drop down menu for the Choose Settings box and choose Border.
- Select a border from the window that opens. Click the OK button when done.
- Now select the picture (click on the picture you selected for the home
link).
- Open the Format Menu and choose Dynamic HTML Effects (if you do not see
the option, point to the double arrows pointing down at the bottom of the
menu and wait a moment for the menu to expand).
- Click the drop down menu for the On box and choose Mouse Over.
- Click the drop down menu for the Apply box and choose Swap Picture.
- Click the drop down menu for the Choose Picture box and select Choose
Picture.
- Navigate to the same icon folder on the Desktop and select a different
picture. Click OK.
- Save the file and preview in the browser.
Work on your Web Site - Spend the rest of the workshop today developing your
web site.
Questions to be completed for next meeting - also, make sure you bring any
information you need to work on your web pages
- List at least three sites you visited to find graphics or other
information to create your web page.
- Of the pages listed above, which did you find easy to use and which did
you find difficult to use? Why were they easy or difficult to use?
- List your favorite graphic site and why you would recommend other teachers
use it?
- List at least three elements of a web page or web page design that
"turn you off" (what don't you like to see when viewing/using a
web page.
- List at least two elements that you think ALL web pages should have and
why they should have them.
Last modified 6/6/01