我有时发现自己处于基本上非常简单的HTML/CSS中存在一些我不理解的偏移量的情况。一些非常基本的HTML中令人难以置信的偏移量
这里有一个example:
<div style="width: 100%; height: 92px;">
<image src="https://www.google.at/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" width="272px" height="92px"></image>
<a href="www.google.com">Google</a>
</div>
哪里额外的垂直偏移从何而来?
“唯一”的解决方案,我发现到目前为止是使用一个div
与background-image
的image
元素的,而不是...
在''和'