For inline-block
I usually specify vertical-align:top
to alleviate vertical alignment issues. And be aware that there will be horizontal gaps between the sibling divs that have inline-block, which can only be fixed by killing the literal whitespace in the HTML.
And I hope you are using a doctype.
Hope this helps, otherwise please setup a jsfiddle so I can visually see this.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…