how to align div to right html code example Example: align div to the right display:inline-block; float:right;