我在html电子邮件中使用VML作为背景图像.尽管VML对象中存在"无重复"值,但背景在MSO 12,14和15中重复.代码如下:
<td align="center" valign="top" style="background-image: url('http://secure.sportssystems.com/eventdata/6389/images/APIInviteBackground.jpg'); background-repeat:no-repeat; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-position: top center;">
<xsl:comment><![CDATA[[if gte mso 9]>
<v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="background-repeat: no-repeat; mso-width-percent:1000; height:775px; top: 0; left: 0; border: 0;z-index: 1">
<v:fill type="tile" src="cid:http://.../myimage.jpg" />
<![endif]]]></xsl:comment>
Run Code Online (Sandbox Code Playgroud)
我也尝试过使用v:background:
<v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t" style="background-repeat: no-repeat; mso-width-percent:1000; height:775px;">
<v:fill type="tile" src="cid:http://secure.sportssystems.com/eventdata/6389/images/APIInviteBackground.jpg" />
</v:background>
Run Code Online (Sandbox Code Playgroud)
但后来我没有背景.我会继续插电,因为我觉得解决方案很简单,但是会感激任何帮助......
我在Coldfusion 10中遇到了一个奇怪的行为 - 我有一个名为myString"12600A07xxx" 的变量.
我想要"A07"之前和之后的子串,所以我使用"A07"作为列表分隔符,并键入listFirst(myString, "A07")和listLast(myString, "A07").
对于第一个,它正在剥离零,并且当它应该返回"12600"时返回"126".它也是如此ListGetAt().为什么会这样?