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