<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>{$name}</title><body><!-- Copyright ?2005. Spidersoft Ltd -->
<style type="text/css">
A.applink:hover {border: 2px dotted #DCE6F4;padding:2px;background-color:#ffff00;color:green;text-decoration:none}
A.applink {border: 2px dotted #DCE6F4;padding:2px;color:#2F5BFF;background:transparent;text-decoration:none}
A.info {color:#2F5BFF;background:transparent;text-decoration:none}
A.info:hover {color:green;background:transparent;text-decoration:underline}
</style>html模版里写了一段style就出错
Fatal error: Smarty error: [in index.html line 12]: syntax error: unrecognized tag: border: 2px dotted #DCE6F4;padding:2px;background-color:#ffff00;color:green;text-decoration:none (Smarty_Compiler.class.php, line 446) in D:\www\phpnew\common\smarty\Smarty.class.php on line 1095
取出style后就没有问题 why
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货