CSS Interfering with Smarty

From: Date: Thu, 16 Oct 2003 17:51:11 +0000
Subject: CSS Interfering with Smarty
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10358@lists.php.net to get a copy of this message
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. Here is some example code: div.content { text-align: left; vertical-align: text-top; width: 67%; top: 0; left: 0%; } and the error: Fatal error: Smarty: [in header.html line 13]: syntax error: unrecognized tag: text-align: left; vertical-align: text-top; width: 67%; top: 0; left: 0%; (Smarty_Compiler.class.php, line 382) in /usr/local/lib/php/Smarty_Compiler.class.php on line 1824

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