You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Soriano, Jaume" <JS...@es.wanadoo.com> on 2001/09/11 11:02:22 UTC
A doubt about CSS and Velocity
Nowadays we're using stylesheet (CSS) in our
HTML files and we'd like to still using them
in our Velocity Templates (something as follows)
<html>
<head>
<LINK REL="stylesheet" TYPE="text/css" HREF="ourstyle.css">
</head>
<body>
<B>$Wellcome</B>
</body>
</html>
...I've tried this code but no style is applied,
what am i doing wrong?
(the same code but with an '.html' extension works fine!)
Thanks in advance:
========<js...@es.wanadoo.com>=========
RE: A doubt about CSS and Velocity
Posted by Paulo Gaspar <pa...@krankikom.de>.
Soriano, this is a question for the user list.
Anyway, it looks like you are not setting the response content
type to "text/html" in your Servlet.
Have fun,
Paulo Gaspar
> -----Original Message-----
> From: Soriano, Jaume [mailto:JSoriano@es.wanadoo.com]
> Sent: Tuesday, September 11, 2001 11:02 AM
> To: velocity-dev@jakarta.apache.org
> Subject: A doubt about CSS and Velocity
>
>
> Nowadays we're using stylesheet (CSS) in our
> HTML files and we'd like to still using them
> in our Velocity Templates (something as follows)
>
> <html>
> <head>
> <LINK REL="stylesheet" TYPE="text/css" HREF="ourstyle.css">
> </head>
> <body>
> <B>$Wellcome</B>
> </body>
> </html>
>
> ...I've tried this code but no style is applied,
> what am i doing wrong?
> (the same code but with an '.html' extension works fine!)
>
> Thanks in advance:
>
> ========<js...@es.wanadoo.com>=========
>