>>I need to make a good-looking data entry grid from html table.
>>I use a table which contains
>>
<input type=text>
input fields.
>>
>>However, the table layout looks poor: each input box shows separately, there
>>is a space between cells. I need only vertical lines, no horizontal lines.
>>
>>Which attributes I need to add to table to make it a good looking data entry grid ? I'm using IE 6 only.
>>
>>
>><table cellpadding=0 cellsapcing=0 >
>><thead> ... </thead>
>><tr> <td> <input type=text> </td> ...
>>
>
>I'm not sure exactly what you're looking for but using the "frame" & "rules" attributes along with specifying "colgroups" may help, see :
>
http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#h-11.3.1>
http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html#edef-COLGROUP>
>To remove the border of the input boxes, either use an inline style, or specify it in a CSS file.
>
>
><table frame=vsides rules=groups cellspacing=0 >
><colgroup>
><colgroup>
><thead>Header 1</thead><thead>Header 2</thead>
><tr><td><input type=text style="border:0"></td><td><input type=text style="border:0"></td></tr>
><tr><td><input type=text style="border:0"></td><td><input type=text style="border:0"></td></tr>
><tr><td><input type=text style="border:0"></td><td><input type=text style="border:0"></td></tr>
></table>
>
I need than when the cell in table becomes active (clicked by mouse or moved by a tab key), a border is drawn around this field.
(Is is just like in foxpro grid WHEN gridlines are disabled).
Also, a horizontal lines must be drawn before and after the current table row to give visual indication of current row being edited.
How to implement this ? I'm using Internet Explorer 6 only.
Andrus