Tables and Columns

Back ] Up ] Next ]



Tables are used to organize text or pictures into rows and columns. The size of the table is dependent upon the amount of information it contains. Cells with lots of text will, by default, be wider than cells with little text. To force the cells to be even the width is set using the width attribute. The value for the width can be a specific number of pixels or a percentage of the table. If the table with has already been constrained to a portion of the screen, setting the cell width using percentage will always be a percentage of the table not the screen.

Table width = 60%
Width = 15% Width = 50% Width = 25%





WWW references:

http://www.w3.org/TR/WD-tables-951027.html The HTML3 Table Model by the WWW Corsortium

http://www.charm.net/~lejeune/tables.html  HTML Table Tutorial by Urb LeJeune

http://www.bagism.com/tablemaker/ TableMaker by Sam Choukri

http://www.botany.hawaii.edu/tables/ Design Ideas for HTML Tables by K.W. Bridges and Jon Pitko

 

Book references:

            Creating Web Pages with HTML, Patrick Carey, Courses Technology, Chap 4.2

            HTML Programmers Reference, Robert Mullen, Ventana Press, pp. 114-117

 

References available on campus

            http://surf.tstc.edu/~rcozby/HTML/tables1.htm Basic tables by Bob Cozby (handout)

            http://surf.tstc.edu/~rcozby/HTML/tables.htm More advanced tables by Bob Cozby

            http://w3.tstc.edu/html/tables.htm Creating Tables by R Craig Collins