[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Adding Style Sheets to an SQR Report
- Subject: Adding Style Sheets to an SQR Report
- From: Ian Mills <Ian.Mills@ORIX.COM.AU>
- Date: Fri, 4 Jan 2002 16:15:38 +1100
Can anyone help?
I have an SQR report that is run on Brio Portal that produces an HTML
output.
I tried to add the following code to my report so that I can use style
sheets to set my fonts for the HTML output. When I add this code, the
report will no longer work when I try to run it on the Portal.
When I comment it out, the report runs fine.
Is there something obvious here to anyone that I am doing wrong?
begin-program
do html_on
let $temp1 = '}'
! let $temp = '<TITLE>LP_044 - Reference Report</TITLE>'
let $temp = '<STYLE type="text/css">'
|| '<!!--'
|| ' .bigHeading { font-family: Arial, Helvetica,
sans-serif; font-size: 18px; font-weight: bold' || $temp1
|| ' .smallHeading { font-family: Arial, Helvetica,
sans-serif; font-size: 12px; font-weight: bold' || $temp1
|| ' .normalText { font-family: Arial, Helvetica,
sans-serif; font-size: 10px' || $temp1
|| ' .detailText { font-family: Arial, Helvetica,
sans-serif; font-size: 8px; font-weight: italic' || $temp1
|| '-->'
|| '</STYLE>'
do html_set_head_tags($temp)
...etc
Regards,
Ian Mills