http://www.apache.org/~stas/modperl-site-bg/
A few things I'm not sure about.
I supply the url of the image relative to style.css file, which is very cool, since otherwise we cannot specify the relative location image from the stylesheet (if it has to be adjusted to the location of the currently viewed page).
It seems to properly work in mozilla and galleon, I'm not sure if other browsers will do the same.
The second issue is the css syntax. I read that some browsers don't understand 'background-image' tag, but do understand 'background'. So should I provide both? Of course I've kept the 'background-color' in case the images are disabled.
To try it out patch the latest cvs version with:
Index: src/style.css
===================================================================
RCS file: /home/cvs/modperl-docs/src/style.css,v
retrieving revision 1.8
diff -u -r1.8 style.css
--- src/style.css 17 Jan 2002 16:02:32 -0000 1.8
+++ src/style.css 17 Jan 2002 17:00:57 -0000
@@ -3,6 +3,8 @@
font-size: small;
color: #000000;
background-color: #000066;
+ background-image: url(images/bg.jpg);
+ background: url(images/bg.jpg);
} .headline {and add the image to the images directory, now either manually copy the stylesheet and the image to the dst_html dir, or rebuild with -f.
_____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
