0
HTML:保證金inline-block的元素
hello there! <div class='badge'>give this a small margin.</div> Please!
CSS:
.badge {
display: inline-block;
margin-top: -2px;
}
見小提琴這裏:http://jsfiddle.net/ThySQ/2/
如何給在div文本保證金?它似乎並沒有像這樣工作。