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