任何人都可以解释为什么“.name-wrap” div 与这个小提琴中的图像不对齐。
<!DOCTYPE html>
<html>
<style>
.element-wrap{
display:block;
background:blue
}
.name-wrap{
display:inline-block;
background:yellow
}
.model-name-wrap{
display:block
}
.make-name-wrap{
display:block
}
img{
display:inline-block
}
</style>
<body>
<div class="element-wrap">
<img height="50" width="50" src="https://fbcdn-photos-h-a.akamaihd.net/hphotos-ak-prn1/c8.0.50.50/p50x50/1012747_10100658463725213_1269934886_s.jpg">
<div class="name-wrap">
<div class="model-name-wrap">Honda</div>
<div class="make-name-wrap">Civic</div>
</div>