Collected by
Elizabeth Janson

Home Page

Tables - WEBREF

 
Use a style sheet, and colour cells by using the colour code
<STYLE type="text/css">
TD.one { background-color: pink }
TD.two { background-color: skyblue }
</STYLE>
normal
normalTD class=two

Now work in rows, and add some indenting

<STYLE>
TH.toct {
	BACKGROUND-COLOR: #e0dd06}
TD.tocsno {
	BACKGROUND-COLOR: #e0ffe0
}
TD.tocsni {BACKGROUND-COLOR: #e0ffe0;
	TEXT-INDENT: 1.5cm
}
TD.tocb {
	BACKGROUND-COLOR: #ffffe0
TD.tocbi {BACKGROUND-COLOR: #ffffe0;
	TEXT-INDENT: 1.5cm}
</STYLE>

Contents of this Tutorial Page
1. The Gruntwork 1
2. That HTML Border 2
3. ROWs 3
THREAD 3
TFOOT 3
TBODY 3
4. The rest of the gang 4
COLGROUP 4
Cell Margins 4
BORDER-COLLAPSE 4
FRAME and RULE 4
5. Active tables 5
6. What's an author to do? 6

<TABLE cellSpacing=0 cellPadding=2 width="60%" align=center border=0>
<TBODY>
  <TR>
    <TH class=toct colSpan=2>Contents of this Tutorial</TH>
    <TH class=toct align=right>Page</TD></TR>
  <TR>
    <TD class="tocsno">1.</TD>
    <TD class="tocsno">
<A href="1.html">The Gruntwork</A></TD>
    <TD class="tocsno" align=right><A 
      href="1.html">1</A></TD></TR>
  <TR>
    <TD class=tocb>2.</TD>
    <TD class=tocb>
<A href="2.html">That HTML Border</A></TD>
    <TD class=tocb align=right>
<A href="2.html">2</A></TD></TR>
  <TR>
    <TD class=tocsno>3.</TD>
    <TD class=tocsno>
<A href="3.html">ROWs</A></TD>
    <TD class=tocsno align=right>
<A href="3.html">3</A></TD></TR>
  <TR>
 <TD class=tocbi colSpan=2>
<A href="4.html">THREAD</A></TD>
    <TD class=tocb align=right>
<A href="4.html">3</A></TD></TR>

Email
CSS begins here
Back to FRAME and RULE, or on to CSS makes a table.

This page is part of Elizabeth Janson's web site

http://www.oocities.org/elizatk/index.html

My other sites are the Anglican Parish of Northern Mallee,
Tetbury residents in the Eighteenth Century
my Australian Family History and Barrie, our Family Poet.