Re: [SMARTY] Problem with external style-sheets
| From: | Kevin Marsh | Date: | Wed, 07 Aug 2002 00:51:12 +0000 |
| Subject: | Re: [SMARTY] Problem with external style-sheets | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5609@lists.php.net to get a copy of this message | ||
You might also try setting the base attribute so all your relative links
work.
For more info check out W3:
http://www.w3.org/TR/html4/struct/links.html#h-12.4
Hope that helps,
-Kevin Marsh
----- Original Message -----
From: "Jochen Kächelin" <jk@linux.amsjk.de>
To: <smarty-general@lists.php.net>
Sent: Tuesday, August 06, 2002 7:25 PM
Subject: [SMARTY] Problem with external style-sheets
> the following line does not work:
>
> <link rel="stylesheet" type="text/css"
> href="/www/css/main.css">
>
>
> but
>
> <link rel="stylesheet" type="text/css"
href="hnttp://192.168.0.1/css/main.css">
>
> works fine.
>
> When I define a path (css_path = /www/css/) and use
>
> <link rel="stylesheet" type="text/css"
> href="{#css_path#}main.css">
>
> it does not work,too!
>
> Any solutions?
>
>
> --
> Jochen Kaechelin
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>