dslreports logo

    All FAQs Site FAQ DSL FAQ Cable Tech About DSL Distance DSL Hurdles »»


how-to block ads

40. Tables

To include a table in your FAQ, you should have at least a cursory knowledge of HTML.

Basically, every HTML tag in a table requires a closing tag. Table can quickly grow to unmanageable proportions simply due to the large number of tags involved. Add in some align="center" and other coding, and it becomes really complex.

A simple table to create some columns looks like this, for example:


<table align="center" width="90%" border="1" bgcolor="#CC0000"><tr><td align="center"><font color="white" face="garamond" size="+3">ONE</font></td><td align="center"><font color="white" face="garamond" size="+3">TWO</font></td><td align="center"><font color="white" face="garamond" size="+3">THREE</font></td><td align="center"><font color="white" face="garamond" size="+3">FOUR</font></td></tr></table>

That's a whole lot of coding to dress up one line with four cells in it.

by KeysCapt See Profile
last modified: 2002-10-16 01:46:16

So, you've just tediously written a nice table into your FAQ in order to show your info nicely set apart, but when you submit it, there's this massive "white space" between your regular text and your table. You've tried everything, and it just won't go away. What to do?

This is a result of spaces and line returns between table elements. Where that normally does not have any effect on a table, here on the site it is a no-no.

To fix the problem, edit your entry, and remove all spaces between table elements ... they should look like this:

<TABLE><TR><TD>some text information here</TD></TR> and so on. The only exception is that as you write your entry, some line breaks will occur naturally, put there by the site's software. Do not interfere with these; doing so will delete part of your text.

by KeysCapt See Profile
last modified: 2002-10-16 00:48:10