Re: [SMARTY] problems with {} in html

From: Date: Wed, 18 Dec 2002 03:31:51 +0000
Subject: Re: [SMARTY] problems with {} in html
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6862@lists.php.net to get a copy of this message
Hello First I'd like to say hello, this is my first post on the Smarty mail list. I have been reading questions/answers over the past few weeks and learning lots. Thanks everyone! -- I find that linking to the stylesheet inside the "tpl" file works well. i.e. <link href="style.css" rel="stylesheet" type="text/css"> Give that a shot if you haven't already. Cheers Adam ----- Original Message ----- From: "Milos Rasic" <mrasic@tehnicom.net> To: <smarty-general@lists.php.net> Sent: Tuesday, December 17, 2002 10:34 PM Subject: [SMARTY] problems with {} in html > First, I'd like to thank everyone who helped me install smarty on lycos. > Thanks. > > Now, I have a problem. I used html code in one tpl file that uses {}. > More precisely, it is the line: > > <style fprolloverstyle>A:hover {color: #000080; font-weight: > bold}</style> > > It is used to give rollover effect to all links. However, smarty tries > to compile the code between {}, and of course fails. Is there some other > way to code this in html, or a way to code it in php or smarty? >

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