johnbuckley
Technical User
I've been using DBF2HTML and GenHTML.prg to output data as a list table into a browser using code from the DoHtml sample. It works fine.
However the data grid displays with a grey background and doubled lines which doesn't fit with the rest of my displays.
I can change the background colour by altering it in the Prescript field of GenHTML.dbf
But I can't see how to alter the cell spacing in the DBF or in GenHTML.prg.
The HTML code generated is:
<body bgcolor="silver">
<table id="GenTable" border=1 >
which for some reason displays with a cell spacing of 2 giving double lines.
I want to get:
<body bgcolor="white">
<table id="GenTable" border=1 cellspacing="0">
which will give me single lines separating fields and records.
Does anyone know how to generate this please.
I don't want to have to edit the HTML before displaying it.
John
However the data grid displays with a grey background and doubled lines which doesn't fit with the rest of my displays.
I can change the background colour by altering it in the Prescript field of GenHTML.dbf
But I can't see how to alter the cell spacing in the DBF or in GenHTML.prg.
The HTML code generated is:
<body bgcolor="silver">
<table id="GenTable" border=1 >
which for some reason displays with a cell spacing of 2 giving double lines.
I want to get:
<body bgcolor="white">
<table id="GenTable" border=1 cellspacing="0">
which will give me single lines separating fields and records.
Does anyone know how to generate this please.
I don't want to have to edit the HTML before displaying it.
John