Re: [SMARTY] Including CSS

From: Date: Fri, 18 Jun 2004 11:56:20 +0000
Subject: Re: [SMARTY] Including CSS
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11471@lists.php.net to get a copy of this message
> I am facing the same problem. i.e. problem with <link href="css/main.css" > type="text/css" rel="stylesheet" /> > your problem is the path where you´re executing the script. > > > the CSS file must be relative to the PHP file and not relative to your > > > Smarty template > I tried to use { Literal } and it didn't work. I tried > <style>{literal}</style> and <style> without {literal}, they work fine. read the manual. "Literal tags allow a block of data to be taken literally, not being interpreted by the Smarty engine."

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