我有時發現自己處於基本上非常簡單的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
元素的,而不是...
在''和'