Table formatting on a web form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Greetings. I am having some difficulty with formatting a table on a web form
and hope someone can help. Currently the table has a single column.

Desired output format (X = text , X = number)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.
XXXXXXXXXXXXX ###
XXXXXXXX ######
XXXXXXXXXXXXX ####

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.
XXXXXXXXXX ####
XXXX ########

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX.
Etc.

Current output:
Text XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.
XXXXXXXXXXXXX ###
XXXXXXXX ######
XXXXXXXXXXXXX ####

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.
XXXXXXXXXX ####
XXXX ########

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXX.
Etc.

I have two issues with doing this:
1. Inserting a blank row: currently I have the row number being placed into
rox(x).col(0) and then turning forecolor to white which looks good on the
screen but when the page is printed the number shows. Is there a way to
insert a blank row?

2. Indent formatting of selected rows. I have tried having leading and
trailing spaces ie
“ XXXXX ####†but the spaces are all removed at
runtime. I have tried having 4 columns and then set the colspan to 4 on the
rows and put the indented data in col(1) and col(2) but it give me the
following result

XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXX.
XXXXXXXXXXXXX ###
XXXXXXXX ######
XXXXXXXXXXXXX ####
XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXX

So I either need to find out how to allow spaces in the text or make the
colspan work correctly, any help would be appreciated.

Thanks,
Mike
 
The lines that are not indented do a ColSpan = 2. The indented lines place
to <td width=100>&nbsp;</td><td>XXXX #####</td>

That should do the trick.
Chris
 
Thanks Chirs, "The Master of the thing that was significant to me..."

Worked like a charm....

Mike
 
Back
Top