HELP! * GREY=local LOCAL HTML version of Foils prepared 6 June 1996
Foil 28 Formatting Tables
From Introduction to HTML ECS400 Senior Undergraduate Course -- Spring Semester 1996. byNancy J. McCracken * See also color IMAGE
An html table (within <table> and </table>) consists of a number of rows, each of which has a number of cells. Formatting with tables on a Web page provides a good way to place and align images and text.
Attributes for the table tag
CELLSPACING=value - the amount of space between individual cells
CELLPADDING=value - the amount of space between the border of a cell and the contents of the cell
BORDER to specify there should be a line around the table and inbetween the cells, or BORDER=value to give the width of the border.
WIDTH=value|percent - allows you to describe the desired width in pixels or as a percentage of the document width.
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.