Focal Point
style sheet

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8841070712

March 08, 2007, 04:59 AM
Aditya
style sheet
I am getting the following style sheet when i view source the HTML file generated after running the report.
<STYLE TYPE="text/css">
TD { vertical-align:top; padding-right:9pt; padding-top:1pt; padding-bottom:2pt; }
</STYLE>

Now i want to set the padding-right: to 4pt instead of present 9pt.How do i do it from the fex file.

Regards,
Aditya
March 08, 2007, 05:26 AM
Alan B
In your style sheet set the UNITS=PTS, which I think has to be done by hand, can't find that in the report painter.

Then in report painter, options/format, set Cell Padding for Right to 4.


Alan.
WF 7.705/8.007
March 08, 2007, 05:36 AM
Aditya
Hi Alan,
I can set the UNITS=PTS, but where do i set Cell Padding for Right to 4 in my code.I am not using report painter.Below is my code-

ON TABLE SET STYLE *
UNITS=PTS,
PAGESIZE='LETTER',
LEFTMARGIN=0.000000,
RIGHTMARGIN=0.000000,
TOPMARGIN=0.200000,
BOTTOMMARGIN=0.000000,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
GRID=ON,
FONT='ARIAL',
SIZE=9,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
RIGHTGAP=0.125000,
TOPGAP=0.013889,
BOTTOMGAP=0.027778,
WRAP=OFF,
$

Thanks and regards,
Adit
March 08, 2007, 06:17 AM
Alan B
Aditya

The style sheet syntax is
  
ON TABLE SET STYLE *
UNITS=PTS,
PAGESIZE='LETTER',
LEFTMARGIN=0.000000,
RIGHTMARGIN=0.000000,
TOPMARGIN=0.200000,
BOTTOMMARGIN=0.000000,
SQUEEZE=ON,
ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
GRID=ON,
FONT='ARIAL',
SIZE=9,
COLOR='BLACK',
BACKCOLOR='NONE',
STYLE=NORMAL,
RIGHTGAP=4,
TOPGAP=1,
BOTTOMGAP=2,
WRAP=OFF,
$

Also note that as you changed the units to PTS, then all the gap sizes will need to be changed, as I have shown, but you will also need to change the margins to suit.


Alan.
WF 7.705/8.007
March 08, 2007, 07:48 AM
Aditya
Hi Alan,

Thanks very much.Its working now.

Regards,
Adit