【发布时间】:2013-06-18 13:08:03
【问题描述】:
我有这个简单的代码 - 一个文本字段和一个图像(图像高度为 30 像素)
代码是:
<input type="text" style="height:30px;" />
<input type="image" src="images/download_button.png" />
结果是两个高度为 30px 的元素未对齐。文本字段相对于图像向下 - 比如填充???你知道,为什么元素不对齐???
截图:
【问题讨论】:
标签: text alignment field padding