velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Harvey III <charl...@alloy.com>
Subject Re: CSS file problem
Date Thu, 11 May 2006 13:45:50 GMT


Townson, Chris said the following on 5/11/2006 6:05 AM:
>> i'm trying to include a css file but it's being ignored
>>
>> i have this in my vm template
>>
>> <html>
>> <head>
>>   	<link rel="stylesheet" type="text/css" href="$stylesheet"/>
>> </head>
>> ........
>>
>> where $stylesheet = webapps/projectname/WEB-INF/style.css
>>     
>
>
> a browser would not be able to retrieve a CSS file from WEB-INF
>
> try putting the CSS in the doc root or similar
>
> C
>
>   
Also, don't use "webapps/projectname/".  Use either "/projectname/"
or "projectname/".


Charlie


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message