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