<div>
's are block-level elements so that's their natural behavior. You could float the div's and then clear them, or use display: inline
.
I think this link would help you understand a bit more though:
<div>
's are block-level elements so that's their natural behavior. You could float the div's and then clear them, or use display: inline
.
I think this link would help you understand a bit more though: