You need to write your styles into a stylesheet file, e.g. styles.css
and then include it in the reports with the STYLESHEET command. See
http://analog.cx/docs/output.html#STYLESHEET. Note that you have to
manually upload the stylesheet to your server. Analog expects
STYLESHEET to point to a URL.

To use a background image, the style command is background-image,
although the background shortcut property works, too. See
http://blooberry.com/indexdot/css/ for a complete index of style
properties and quirks.


-- 

Jeremy Wadsack
Wadsack-Allen Digital Group


Arthur McBryan ([EMAIL PROTECTED]; Thursday, October 17, 2002 11:56 AM):

> Regarding using style sheets in Analog. I would like to have Analog do
> insert the background image as seen here:
> http://www.hcmr-photos.org.uk/reports/report.html, but I have had to insert
> this manually as in this extract:

> <body background="hcr-badges-bg.gif">

> I would really like to use a STYLESHEET please. Is the following correct for
> a bground.css? And if so, where to I place it in analog.cfg?

> <html>
> <head>
> <title>Statistics Style Sheet</title>
> </head>
> <body>
> <style type="text/css">
> body {background: url(hcr-badges-bg.gif) fixed center;}
> </style>
> </body>
> </html>

> Many thanks

> Arthur McBryan

> Webmaster
> http://www.hcmr-photos.org.uk

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:owner-analog-help@;lists.isite.net]On Behalf Of Arthur McBryan
> Sent: 17 October 2002 18:50
> To: Analog-Help@Lists. Isite. Net
> Subject: [analog-help] How to use style sheets!


> Thanks for all the help with the dns and Windows problems, that is all
> sorted.

> The next question is, I wish to insert a background in the report.html file,
> I understand that I need to use a STYLESHEET command. But where do I put
> this command and how do I incorporate the following into a style sheet
> please:

> <body background="images\hcr-badges-bg.gif">

> I need some help here because I hardly know html!

> Many thanks


> Arthur McBryan

> Webmaster
> http://www.hcmr-photos.org.uk


> +------------------------------------------------------------------------
> |  This is the analog-help mailing list. To unsubscribe from this
> |  mailing list, go to
> |    http://lists.isite.net/listgate/analog-help/unsubscribe.html
> |
> |  List archives are available at
> |    http://www.mail-archive.com/analog-help@;lists.isite.net/
> |    http://lists.isite.net/listgate/analog-help/archives/
> |    http://www.tallylist.com/archives/index.cfm/mlist.7
> +------------------------------------------------------------------------

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/analog-help@;lists.isite.net/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to