css align divs left and right code example Example: align div to the right display:inline-block; float:right;