Correct Formatting of Input Data
Here are some examples of input data and their corresponding tables. The correct format of the input data is very simple -- values for individual cells are separated by commas (or you can use tabs) and each line corresponds to a new row.
a,b
c,d
a,b,c,d
a,b,c,d
e,f,g,h
a,b
c,d
e,f
g,h
a,b,c
d,e,f
g,h,i
Using Column Span and Row Span
Sometimes it's nice to have a table where a cell spans across multiple rows or columns. For example...
This cell spans across three columns |
d | e | f |
To use this feature, you need to provide a special code within your input data which tells TableMaker what to do. The code to use for spanning columns is (colspan=#) where "#" is a number corresponding to the number of columns you want to span. Likewise, the code for spanning rows is (rowspan=#). Alternatively, you can use (cs=#) or (rs=#) as shortcuts for (colspan=#) and (rowspan=#), respectively.
The code has to be placed immediately to the left of the value for a particular cell that you want to span. For example, if you want a cell containing the word "sleepy" to span across 4 columns, you would enter (cs=4)sleepy. Let's take a look at some tables, shall we.
(cs=3)a
b,c,d
a,(cs=2)b
c,d,e
(cs=2)a,(cs=2)b
c,d,e,f
(rs=2)a,b,c
d,e
a,(rs=2)b,c
d,e
a,(cs=2)b
(rs=2)c,d,e
f,g
Fine Tuning Tables for Netscape
Here are some example tables which demonstrate the additional attributes specific to Netscape. All of these tables should look identical in Mosaic, but will look wildly different in Netscape.
BORDER=3
BORDER=3, WIDTH=200
BORDER=3, WIDTH=50%
BORDER=1, HEIGHT=50
BORDER=1, HEIGHT=15%
BORDER=1, CELLPADDING=10
BORDER=1, CELLSPACING=10
BORDER=3, WIDTH=50%, HEIGHT=15%, CELLPADDING=10, CELLSPACING=10
Brought to you by Sam Choukri
Frequently Asked Questions
Updated on Dec 4, 1997