Yes, it is. You asked for a table. The thing above was made
using the <TABLE> and </TABLE> commands. That's a table because... Oh, wait --
I'll bet this is the thing you were looking for:
What Is Happening?
What table commands do is create a series of cells. Each cell's
data is denoted by the <TD> command.
Please note that even though the program above has each
cell (or TD) command on a new line, the cells keep going to the right until you tell the computer
that a new row of cells will start by using the <TR> or Table Row command.
Think of it as constructing a Tic Tac Toe board. You'll need
nine cells for the board right? Three across in three rows. Use the <TD> command to make
three cells across, use <TR> to jump to the next row, and so on until you have nine cells in
three rows of three. Nothing to it.
Note that a <TR> is needed first to start the first table
row. Note the code above again to see it.>
|
Remember that whatever follows the <TD>
command will appear in the cell. And the cells, by column, will be of equal size using the largest
cell as the model for the others. Biggest wins, in other words... in life, as in HTML.
Framing Images
I am asked at least once a week how to frame an image. What
you have done above is basically framed two images. A frame around one image is nothing more
than a one-celled table. Here's a framed image:
If this is all you want to do, the commands are much simpler
than the ones above. You see, there's only the one cell to deal with so there's no need to tell the
table any type of CELLPADDING or CELLSPACING unless you want space between the image
and the border or you want the border larger. You can if you'd like, but there's really no need.
Follow the full use of <TR> and </TR> command.
Another quick hint is to keep it all on one line so that the image centers perfectly in
the border frame.
Here are the commands that placed the above image in a
frame:
<TABLE BORDER="10" >
<TR><TD ALIGN="center"><IMG
SRC="bresunflowerframed.gif"></TD></TR>
</TABLE>
|
Finally...
Just about anything will go inside of a table. The table
commands just surround the items with a frame. Try putting a few of your page's items within a
frame or a table. It looks professional. Just don't go overboard with it. Then it starts to take on
the not-so-nice look of too many lawn ornaments.
[Simple Table Commands][What Is Happening?]
[Really Fancy Table
Stuff][Activating Cells For Links]
[Images in Cells][Framing Images]