我的编码中有一些对齐问题。在 Windows 中,所有浏览器似乎都可以。但是当我在 Mac firefox 中检查时,对齐并不完美。我可以通过稍微改变值来修复它。但它应该只适用于 Mac 上的 Firefox。
是否有任何CSS属性或其他东西?
示例:http: //jsfiddle.net/9chk5/
.notes {
display: inline-block;
position: relative;
width: 16px;
height: 16px;
margin: 0 auto;
background: #abc;
}
.search-notes {
font-size: 14px;
color: #484848;
position: relative;
top: -20px;
margin: 0 25px 0 22px;
}
和 HTML
<div class="notes" style="top:2px"></div><div class="search-notes">This link is used to get information about the visitors from the google organic search. This link is used to get information about the visitors from the google organic search. This link is used to get information about the visitors from the google organic search. This link is used to get information about the visitors from the google organic search. </div>
</div>