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
----- Original Message -----
From: "Jason Cunliffe [nomadics dtv]" <jasonic@...>
To: <vanilla-pudding@yahoogroups.com>
Sent: Saturday, November 03, 2001 6:07 AM
Subject: [vanilla] How to use linked Cascading Style Sheets in Vanilla ?
> Hi
>
> I have been experimenting with Dreamweaver 4 to edit vanilla snips.
> It is great for tweaking relative color values. And lovely to see the
> Vanilla code so explicit in this environment:
>
> {!hierarchy}{.name}
> by {!last-editor:linked}, {!age} ago
>
> This something other systems have often come unstuck on.
>
> Problem: I can create a linked style sheet in Dreamweaver adn see it's
> changes locally check them as a Temp file in web browser.
>
> But Vanilla is not finding my .css file
> Where should it go and what should the path be?
>
> For example:
>
> I am editing vanilla-template.snip
> I create a file "vanilla_jason.css"
> In DreamWeaver I can put it the same folder or another and use a typical
> html css link such as:
> <link rel="stylesheet" href="vanilla_jason.css" type="text/css">
>
> Please, What's the trick to css templating in Vanilla?
>
> thanks
> - Jason
>
>
>
>
>
>
> To unsubscribe from this group, send an email to:
> vanilla-pudding-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>