css align right relative to parent code example
Example: align div to right side of parent
/* align the div to right side */
margin-left:auto;
margin-right:0;
/* align the div to right side */
margin-left:auto;
margin-right:0;