how to place 2 divs next to each other code example Example: display div next to eachother display: inline-block;