Embedding css style in the head causing error.

From: Date: Sat, 21 Jan 2006 00:08:56 +0000
Subject: Embedding css style in the head causing error.
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13237@lists.php.net to get a copy of this message
I wanted to embed some css... <style type="text/css"> h3.content { width: 510px; } div.content { width: 510px; } </style> in my index.tpl page (here called type1.tpl) by putting in the <head> of the document. However when I try to do this I get the following error: Fatal error: Smarty error: [in type1.tpl line 10]: syntax error: unrecognized tag: width: 510px; (Smarty_Compiler.class.php, line 436) in /usr/share/php/smarty/libs/Smarty.class.php on line 1088 Is there a way to do this without causing errors using an external style sheet? Tony

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