SyntaxFix
Write A Post
Hire A Developer
Questions
The parent div (I assume the outermost div) is display: block and will fill up all available area of its container (in this case, the body) that it can. Use a different display type -- inline-block is probably what you are going for:
display: block
inline-block
http://jsfiddle.net/a78xy/