|
Putting Images in your Tables
Alright, images can also get into a table. This is
great for keeping a logo in one spot, or a graphical table of contents. Just use the
<TD IMAGE SRC> command.
<HTML>
<HEAD>
<TITLE>Tables Test Page</TITLE>
</HEAD>
<BODY>
<TABLE ALIGN=CENTER BORDER=10>
<TR>
<TD>Jack</TD>
<TD>John</TD>
</TR>
<TR>
<TD>Jill</TD>
<TD><IMAGE SRC="HERDTITLE5.GIF"></TD></TR>
</BODY>
</TABLE>
</HTML>
The cell adjusted it's size so that the entire image could fit, so of course, that
table looked a bit odd. However, using the commands we went over earlier you can adjust
the table to look the way you want.
In the next section we will cover Cell Padding and Cell Spacing!
<<Back
Next>>
Head on to:
Part 1: Introduction
Part 2: The Basic Table with Borders
Part 3: Adding Color to your Tables
Part 4: Putting Images in your Table
Part 5: Cell Padding and Cell Spacing
256 Color Hex Chart
HTML Command Reference
Back to Tutorial Menu
Back to Designer Main Page
Back To HTML Stuff Main Page
|
Copyright © 2000 Tucows.Com Inc.
TUCOWS.Com Inc. has no liability for any content or goods on the TUCOWS site or the Internet, except as set
forth in the terms and conditions and privacy statement.
|
|