Re: [SMARTY] CSS Interfering with Smarty
| From: | Rob Ellis | Date: | Thu, 16 Oct 2003 17:52:06 +0000 |
| Subject: | Re: [SMARTY] CSS Interfering with Smarty | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10359@lists.php.net to get a copy of this message | ||
On Thu, Oct 16, 2003 at 01:51:11PM -0400, Jason Hubble wrote:
> I can think of two work arounds. 1. have the css in an external file or 2.
> change the way smarty tags are encapsulated to something besides {}.
>
> Is there any trick I'm not aware of because I would rather leave the default
> {}. I already have an external css page but css that is specific to that one
> page I'd rather keep in the file itself.
>
Use {literal}{/literal}.
http://smarty.incutio.com/?page=SmartyFrequentlyAskedQuestions#template-3
- Rob