how to put a div next to another javascript code example Example: display div next to eachother display: inline-block;