SyntaxFix
Write A Post
Hire A Developer
Questions
use inline-block instead of inline. Read more information here about the difference between inline and inline-block.
inline-block
inline
.inline { display: inline-block; border: 1px solid red; margin:10px; }
DEMO