align a div to the right inside a div code example Example: align div to the right display:inline-block; float:right;