intro | design 1 | design 2 | design 3 | tricks 1 | tricks 2 | images | tables 1 | tables 2 | templates | critiques | tools | linksstar| glossary | f. a. q. | quiz | tutorial 1 | tutorial 2 | video tutorialstar| form mail tutorialstar| angelfire tutorialstar| sound tutorialstar| news grps


learn html
design 1
design 2
design 3
tricks 1
tricks 2
images
tables 1
tables 2
templates
critiques
tools
links
glossary
f.a.q.
quiz
tutorial 1
tutorial 2
video tutorial
form mail tutorial
angelfire tutorial
sound tutorial


logo
logo

CUSTOM TABLES FOR PRESENTATION
New Examples Added Often


For lessons on Tables go to HTML Code Tutorial

Here is a Custom Table made by "nesting" two tables and using the attribute "cellspacing" to give a Header Cell and a Thin Border around the whole table...a very Kool effect:

HEADER
ITEM # 1

ITEM # 2

ITEM # 3

ITEM # 4

<table width="150" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000">

<tr><td>
<table width="100%" border="0" cellspacing="3"> <tr><td width="100%" align="center" valign="middle" bgcolor="#000000">

<span style="color:white">HEADER</span>

</td></tr>
<tr><td bgcolor="#ffffff" align="left" valign="top">

ITEM #1<P>ITEM #2<P>ITEM #3<P>ITEM #4

</td></tr></table>
</td></tr></table>

You can vary the colors and sizes to suit your own tastes...the cellspacing value controls the width of the Thin Border around the whole table...here we have changed the color and increased the Thin Border size:

HEADER
ITEM # 1

ITEM # 2

ITEM # 3

ITEM # 4

And here we have eliminated the Header cell which results in a Table with content surrounded by a thin colored border!

Put your content here!

Or for the above, you could use just one table and one cell, and use the cellspacing attribute to control the thin border width, and use the table bgcolor to color it... but be sure to assign a width of 100% to the single cell, as well as specify a bgcolor for it (we used "white" here)...

Put your content here!

<table width="150" cellspacing="2" cellpadding="2" border="0" bgcolor="blue"> <tr><td align="center" valign="middle" width="100%" bgcolor="white"><span style="color:red;">Put your content here!</span></td> </tr></table>

By cleverly Nesting THREE Tables and adjusting your cellspacing and cellpadding attribute values, you can achieve this result:

Put your content here!

Here's the code:

<table width="200" border="0" cellspacing="0" cellpadding="0" bgcolor="black"><tr><td>

<table width="100%" border="0" cellspacing="2"><tr> <td width="100%" align="center" valign="middle" bgcolor="white">

<table width="100%" border="0" cellspacing="10" cellpadding="5"><tr> <td width="100%" align="center" valign="middle" bgcolor="#dddddd">
<span style="color:#000000">Put your content here!</span>
</td></tr></table>
</td></tr></table>
</td></tr></table>


Here's a different way to present info with tables... see the code below (links are Dummy):

Text Here
 ·Link One
 ·Link Two
 ·Link Three
 ·Link Four

<table border="0" cellspacing="0" cellpadding="1" bgcolor="#000000">
<tr>
<td>
<table bgcolor="#ffffff" border="0" cellspacing="3" cellpadding="0">
<tr>
<td align="center" valign="middle" bgcolor="#ff6666">
Text Here</td>
</tr>
<tr>
<td align="left" valign="top">&nbsp;&#183;<a href="#">Link One</a></td></tr>
<tr><td align="left" valign="top">&nbsp;&#183;<a href="#">Link two</a></td></tr>
<tr><td align="left" valign="top">&nbsp;&#183;<a href="#">Link Three</a></td></tr>
<tr><td align="left" valign="top">&nbsp;&#183;<a href="#">Link Four</a></td></tr>
</table>
</td>
</tr>
</table>

Here's another example designed to look like a typical gif banner image:


Sick Of Your Free Hosts UGLY Banners?
GET RID OF EM...REAL FAST!!!
~~Click Here~~

Here's a very kool Custom Line Table that will impress everyone who sees it on a webpage! The over-all size can be easily varied and you can insert anything in the center including Images!


PUT TEXT OR
IMAGES HERE !!

Here's a real fine way of presenting information using a Table... You can increase the size, length, number of cells and change colors to suit your requirements!

Put some info here...
More info here...
And more info here...

And here's the code...

<TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0">

<TR><TD BGCOLOR="#0000CC" ALIGN="center">
<TABLE BORDER="0" CELLPADDING="7" CELLSPACING="0">

<TR><TD BGCOLOR="#DDDDFF" align="center">
<B> Put some info here...</B></TD></TR>
<TR>
<TD BGCOLOR="#EEEEFF" align="center">
<B> More info here...</B>
</TD></TR>
<TR><TD BGCOLOR="#DDDDFF" align="center">
<B> And more info here...</B>
</TD></TR></TABLE>
</TD></TR></TABLE>  

Here's another clever way of creating the Illusion of three tables that "Overlap" each other:


This area is the top seemingly overlapped table in the group!

This area is the middle seemingly overlapping table in the group!
This area is the bottom seemingly overlapped table in the group!

See if you can figure out how it's done! No fair peeking!

Here is another way to present info on a page, using a more "centralized" table set-up ...remember you can change the background colors on any of these examples to suit your needs...

Top Text Area
Middle Text Area
Bottom Text Area

For lessons on Tables go to HTML Code Tutorials


ask a question

Tables 1---Templates