好的,这是目前此HTML元素的外观:
我希望文字与图像居中对齐。该图像为32x32px。
以下是我的代码:
<style>
div.interface {
line-height: 32px;
float: left;
margin: 10px;
width: 450px;
font: 14px/27px 'CalibriRegular', Arial, sans-serif;
color: #646464; text-shadow: 1px 1px 1px #fff;
padding-right: 10px;
}
</style>
<div class="interface"><img src="assets/icons/interface.png" />Filled with fun animations and eye-candy! Complete with Retina graphics.</div>