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