# Smarty (Template plugin for PHP)

**URL:** <https://forum.kirupa.com/t/smarty-template-plugin-for-php/153141>\
**Category:** programming\
**Created:** [June 29, 2005, 3:25pm UTC](https://forum.kirupa.com/t/smarty-template-plugin-for-php/153141 "2005-06-29T15:25:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![va5ja](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@va5ja](https://forum.kirupa.com/u/va5ja)\
**Post date:** [June 29, 2005, 3:25pm UTC](https://forum.kirupa.com/t/smarty-template-plugin-for-php/153141/1 "2005-06-29T15:25:17Z")

</div>

Hi there!

I’m having problems with Smarty ([smarty.php.net](http://smarty.php.net)). I’m trying to make a template but smarty’s compiler won’t compile the html code. I get the error:

**Fatal error** : Smarty error: [in \_header.tpl line 11]: syntax error: unrecognized tag: behavior:url(“css/csshover.htc”); font-size: 100%; (Smarty\_Compiler.class.php, line 432) in **/home/httpd/html/Pv2/lib/smarty/libs/Smarty.class.php** on line \*\*1088

\*\*\_header.tpl looks like:

\<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”  
“[http://www.w3.org/TR/html4/loose.dtd](http://www.w3.org/TR/html4/loose.dtd)”\>  
\<html\>  
\<head\>  
\<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-2”\>  
\<title\>Nogometni klub Tolmin\</title\>  
\<link href=“css/www.css” rel=“stylesheet” type=“text/css”\>  
\<link href=“css/menu.css” rel=“stylesheet” type=“text/css”\>  
\<!–[if IE]\>  
\<style type=“text/css” media=“screen”\>  
BODY {  
behavior:url(“css/csshover.htc”);  
font-size: 100%;}  
#menu ul li {float: left; width: 100%;}  
#menu ul li a {height: 1%;}  
}

\</style\>  
\<![endif]–\>  
\</head\>  
\<body\>  
\<table width=“776” height=“100%” border=“0” align=“center” cellpadding=“0” cellspacing=“0” class=“bgrtable”\>  
\<tr\>  
\<td width=“8” rowspan=“2” class=“bgrtableleft”\>&nbsp;\</td\>  
\<td height=“118” colspan=“3”\>\<img src=“img/header.jpg” width=“760” height=“118”\>\</td\>  
\<td width=“8” rowspan=“2” class=“bgrtableright”\>&nbsp;\</td\>  
\</tr\>  
\<tr\>

It looks like a strange error because the compiler thinks the css code is an error, but there’s no error in there. Does anyone know how to fix this problem?
