Exercises:   Table Tutor

Tables are one of the most useful tools for page layout that you will find. One of the most common questions I hear is "How can I put some text next to an image?" One simple solution is a table...

Fresh Fruits

It has long been known that a diet that includes at least a few servings of fresh fruit every day will help keep you healthy, fit and trim.

Fruitbowl

Here is the same table with the borders turned on...

Fresh Fruits

It has long been known that a diet that includes at least a few servings of fresh fruit every day will help keep you healthy, fit and trim.

Fruitbowl

VIEW THIS EXAMPLE ON A PAGE BY ITSELF

Exercise 6a:

Find an image. Write a description of that image. Building a table from scratch (don't just copy mine), put that image next to its description like the table above. Then, find a second image, write a description for it and expand your table to fit this second image & description.


Another common question is "How do I make a page that has a list of links down one side of the page?" Here is a screen capture of my old home page. It uses a simple two-celled table to achieve this...

Exercise 6b:

Find a recipe for apple pie, chocolate cream pie and lemon meringue pie. Make a page for each. Each page should use a table layout as shown above with links to each recipe in the left column and the recipe in the right column. Use a vertically tiled two-color background image like the following (make one or find one).

 

 

Make the text in the left column a different color than the text in the right column. Keep in mind that when you wish to override the document's link colors you must place the font tag pair within the link...

<a href="otherpage.html"><font color="#ff0000">My Link</font></a> -- correct
<font color="#ff0000"><a href="otherpage.html">My Link</a></font> -- incorrect

Here's a tip... you might want to look at your page through a range of screen resolutions. You might be surprized. You might also find that the best arrangement is that the left cell be of a fixed size (say 150) and the right cell to have no size specification at all.

Here is an example you can refer to if needed.


Exercise 7a (continued on next page):

Pick 5 corporations and hunt down their current stock prices. Place them in a neatly arranged table with their name, symbol, last price, 52wk high, 52wk low and PE ratio. The end result should look like the following. Notice that the first column is aligned left and the rest are centered.

Etrade is a good place, go to www.etrade.com, enter a company in the center, and select the abbreviated name.

My tech stock picks

NAME

SYMBOL

CURRENT

52WK HI

52WK LO

P/E RATIO

Microsoft

MSFT

86-3/8

119-15/16

75-1/2

56.09

Cisco Systems

CSCO

72-1/8

82

24-13/16

400.69

America Online

AOL

63

95-13/16

38-15/32

350.00

Qwest Communications

Q

44-7/16

66

25-3/4

74.06

Dell Computers

DELL

53-59/64

59-11/16

31-3/8

86.97

VIEW THIS EXAMPLE ON A PAGE BY ITSELF

 

<< BACK NEXT >>