【发布时间】:2014-07-31 17:44:01
【问题描述】:
我正在使用内联 CSS,因为这是用于 HTML 电子邮件。我希望我的蜜露图像在右侧对齐,并在图像的左侧和底部用一些填充物环绕它。
你能帮我修复我的代码吗?
这是我的 jsfiddle:http://jsfiddle.net/xBW86/
这是我的代码:
<p>Dear Sir</p>
<img style="padding: 4px; margin: 0 0 2px 7px; display: inline;" src="http://www.fruits.com/fruits/_admin/ckfinder/userfiles/images/products/large/Honeydew.jpg" width="187" height="189" />
<p>A honeydew has a round to slightly oval shape, typically 15–22 cm (5.9–8.7 in) long. It generally ranges in weight from 1.8 to 3.6 kg (4.0 to 7.9 lb). The flesh is usually pale green in color, while the smooth peel ranges from greenish to yellow. Like most fruit, honeydew has seeds. Honeydew's thick, juicy, sweet flesh is often eaten for dessert, and is commonly found in supermarkets across the world. This fruit grows best in semiarid climates and is harvested based on maturity, not size. Maturity can be hard to judge, but is based upon ground color ranging from greenish white (immature) to creamy yellow (mature).[1] Quality is also determined by the honeydew having a nearly spherical shape with a surface free of scars or defects. Also, a honeydew should feel heavy for its size and have a waxy (not fuzzy) surface.</p>
【问题讨论】:
-
我认为你必须使用好的旧表才能让它在所有(阅读大多数)电子邮件客户端中工作......