I have a link with display
set to inline-block
, and next to it is a <div>
with the same height. However, the <div>
is somehow appearing offset downwards, and I'm not sure why.
Here's a jsFiddle: http://jsfiddle.net/2bWjx/1/
What's happening
#stats
(grey) is appearing lower down than a.sector one-letter
.
What I want to happen
#stats
should be equally set (top and bottom at the same point) as a.sector one-letter
.
I've been struggling with this for a while, and could use some help. Should be a simple fix!
Thanks for any help in advance!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…