RE: [SMARTY] Problem with external style-sheets

From: Date: Wed, 07 Aug 2002 00:36:26 +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-5608@lists.php.net to get a copy of this message
If http://192.168.0.1/css/main.css works, then the absolute path to your css file from the web root is /css/main.css, NOT /www/css/main.css try: <link rel="stylesheet" type="text/css" href="/css/main.css"> or set 'css_path = /css ' and try: <link rel="stylesheet" type="text/css" href="{#css_path#}/main.css"> > -----Original Message----- > From: Jochen Kächelin [mailto:jk@linux.amsjk.de] > Sent: Tuesday, August 06, 2002 7:26 PM > To: smarty-general@lists.php.net > 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

« previous php.smarty.general (#5608) next »