trichview.com

trichview.support




Re: Help with Cell Border Width


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/09/2002 12:24:29


RichView tables are designed by HTML model - adjacent sides of borders are

not combined together.

1pixel border for one cell + 1 pixel border for adjacent cell = 2 pixels.

If you'll create HTML file with table with the same parameters you'll see

the same results in browsers.


There are several ideas how to create 1-pixel borders.

The main of them:

- negative cell spacing

   table.CellVSpacing := -1;

   table.CellHSpacing := -1;

or

- hide one side of cells using cell.VisibleBorders



> I am evaluating RichView and am working with tables.  I am trying to get a

> very thin gridline between cells (Cell Border).  I using the following

> settings:

>

>   table.BorderWidth := 1;

>   table.BorderVSpacing := 1;

>   table.BorderHSpacing := 1;

>   table.CellBorderWidth := 1;

>   table.CellPadding := 1;

>   table.CellVSpacing := 0;

>   table.CellHSpacing := 0;

>

> It seems that the cell borders (or gridlines) are still very thick (maybe

2

> or 3 times as thick as cell gridlines in Excel).  Have I missed something?

> Is there another way to control the thickness of the gridlines?

Basically,

> I want a look similar to Excel for the thickness of the lines.

>

> Thanks,

>

> Steve

>

>





Powered by ABC Amber Outlook Express Converter