【发布时间】:2014-03-29 02:46:26
【问题描述】:
如何告诉我的 css 代码背景图像的来源是 LinkedResource ?
将其添加为 <img src="cid:Photo0" /> 有效,但我无法按照我想要的方式设置它。
我试过这个 css background-image:'cid:Photo0' 这个 background-image:url('cid:Photo0') 和其他引号和双引号的组合,但是链接的资源将以这种方式显示为附件,并且带有这个 css 代码的 div 要么缺少背景-图像或有时看起来像这样:
<DIV cid:Photo0?);margin:70px0px;padding:0px0px;background-attachment:fixed;background-repeat:no-repeat;text-align:center;margin:auto;?="">
原来是这样写的:
<div style="background-image:'cid:Photo0';margin:70px 0px;padding: 0px 0px;background-attachment:fixed;background-repeat:no-repeat;text-align:center;margin:auto; ">
【问题讨论】:
标签: c# css smtpclient