| 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. | ![]() |
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. | ![]() |
| VIEW THIS EXAMPLE ON A PAGE BY ITSELF |
Exercise 1:
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 2:
Re-work your earlier animal page into this two column format. Place the main text and images in the right portion, and a list of relevant links in the left 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 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.
Upload the re-worked page and make sure everything is as it should be.
Exercise 3:
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.
| 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 >> |
| Barebones HTML Guide Bookstore |
| Print version available - Get the PageTutor book & CD |
|
|