【发布时间】:2011-05-03 21:24:52
【问题描述】:
我正在使用一个工具提示插件,它通过显示标题属性see this来工作
我有一张带标题的图片:
<img class="tiptip tip_top" src="adv.jpg" height="111" width="186" title="<?php echo $first; ?>"/>
如果我的 php 看起来像这样,它可以工作:
$first = 'Check out the new diggs!';
但如果我使用样式它不会:
$first = '<span style="color:#f200c8;">Check out the new diggs!</span>';
任何想法如何在 php 中使用样式?
【问题讨论】:
标签: php coding-style title