问题描述
我正在尝试使用百里香叶来动态填充标头。 我对标题内的span元素使用了内联样式,并且可以使用thymeleaf填充它。 但是,我在span元素内定义的样式会被忽略
<h1 style='margin:0cm;margin-bottom:.0001pt'>
<span style='font-size:22.0pt;font-family:"Expert Sans Regular",sans-serif;mso-fareast-font-family:"Times New Roman";color:#007EB6;font-weight:normal' th:text="${subject}">
<o:p></o:p>
</span>
</h1>
我尝试在上述元素内添加另一个元素,并在其中添加th:text,但这没什么区别。
我缺少明显的东西吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)