看到这个jsFiddle ...
CSS:
a {display:inline-block;background:gold}
a > * {display:inline-block;margin:0}
p {width:auto;line-height:30px;background:yellowgreen}
div {width:30px;height:30px;background:orangered}
HTML:
<a>
    <p>left</p>
    <div></div>
</a>
现在,为什么设置height:30px在右侧会在左侧div上方产生间隙?p我该如何摆脱它?
我只希望容器a高度为 30 像素,仅此而已。另外,我希望它的孩子排队。