Re: [greenstone-users] Wallpaper/background

From Natalia Pérez Pérez
DateTue, 09 Aug 2005 09:14:46 +0200
Subject Re: [greenstone-users] Wallpaper/background
In-Reply-To (mailman-9-1123545605-23962-greenstone-users-list-scms-waikato-ac-nz)
Hi Henny,

I applied a background to all pages, I don't know if it's the best way, but
it works. You can modify the style.dm macro. You have to replace the line:

{}

by the line:

{ <link rel="stylesheet" href="/gsdl/web/images/name_collection/style.css"
type="text/css"/>}.

Then you have to create style.css file inside images ame_collection
directory. In style.css file you can define all styles for your pages. For
example, in order to apply a background, you can put:

/* set defaults for the HTML body */
body {
/* use a serif font */
font-family: times new roman, times, serif;
/* you can set a background colour. */
background-color: #FFFFCC;
}

If you want that the background be only applied to a collection's pages, you
have to put:
[c=name_collection]{ <link rel="stylesheet"
href="/gsdl/web/images/name_collection/style.css" type="text/css"/>}.

I hope to help you.

Regards.

Natalia.


>Date: Mon, 8 Aug 2005 00:51:37 -0700 (PDT)
>From: Henny Mariane Sutedjo <anastasiahenny@yahoo.com>
>Subject: [greenstone-users] Wallpaper/background
>To: greenstone-users@list.scms.waikato.ac.nz
>Message-ID: <20050808075137.95355.qmail@web30714.mail.mud.yahoo.com>
>Content-Type: text/plain; charset=iso-8859-1
>
>Hi Group,
>
>Can I apply a wallpaper/background to all pages inside the collection,
>be it in the HOME page, HELP page, or inside the collection pages. If
>can, which macro to be modified in order to change the original
>background? Any suggestion would be highly appreciated. Thank you.
>
>Sincerely,
>henny
>
>