Idocs Guide to HTML

Table Borders: No Inside Borders

If you give the table borders (as done in the previous example) then by default the table has both inside and outside borders. You can use RULES=NONE to get rid of the inside borders. Add RULES=NONE to FRAME=BOX to the <TABLE ...> tag. Note that currently only MSIE recognizes these attributes.

<TABLE BORDER=1 RULES=NONE FRAME=BOX>

which gives us this table:

watermelon grapes
peaches bananas

Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.