Yes Bingo!
Thanks
For the record here's what works:
My Vanilla is installed and running under apache in E:\VanillaSBX\apache
I revised http.conf thus:
DocumentRoot E:/VanillaSBX/apache
Now inside any file such as /sources/vanilla-template.snip I can link to my
own external stylesheet file:
<html>
<head>
<title>{.name}</title>
<link rel="stylesheet" href="/static/vanilla_jason.css" type="text/css">
</head>
Any CSS definitions can be used and revised on the fly in Vanilla, and also
directly onscreen in Dreamweaver or using its own 'Preview in Browser' mode
:-))
Everything behaves as it should - so can edit the external .css file and see
changes everywhere. This means it can also be manipulated by REBOL from
Vanilla for example..
oh simple joys!
- Jason
PS. Did I say I love Vanilla?
----- Original Message -----
From: "James Adam" <bulk@...>
To: <vanilla-pudding@yahoogroups.com>
Sent: Saturday, November 03, 2001 9:10 AM
Subject: Re: [vanilla] How to use linked Cascading Style Sheets in Vanilla ?
> in your apache config file [httpd.conf], you should hsave set the document
> root for the server that is running vanilla. all relative links within
this
> server are based from this path. for instance, imagine on windows you have
>
> Apache in c:\apache
> document root as c:\apache\htdocs
> vanilla in c:\apache\vanilla (but of course, the vanilla.r files are
> probably in c:\apache\cgi-bin or something)
>
> if you link to [http://www.yourserver.com]/my_stylesheet.css , apache will
> look for it in c:\apache\htdocs
>
> if you specifiy that your stylesheet is /styles/stylesheet.css , apache
will
> look for it in a styles directory in htdocs.
>
> hope this helps..
>
> James