PDA

View Full Version : Help With Tables



Dobbs123
07 Mar 2007, 03:01 PM
So I am using tables to put my new stories in (I am a total novice at this web design thing) and I keep getting unwanted borders and cannot optimize it to where I have multiple stories on a page each with their own little box. Any tips or suggestions or websites that help with this kind of thing?

Wickham
07 Mar 2007, 03:35 PM
Put this in the head section of your page to get rid of table borders:-
<style type="text/css">
table { border: 0; }
</style>

You can either have several tables so that each can have different numbers of cells in the width and different widths of cells
or
use one table with each row of cells separated by a <tr> tag. Every cell in a column will be the same width.

See
http://www.w3schools.com/html/html_tables.asp
and
http://www.w3.org/TR/html4/struct/tables.html

I don't know whether you are planning to use HTML or XHTML; there isn't much difference but this link is for XHTML:-
http://www.wickham43.supanet.com/tutorial/tables.html