#float_css { float: none; float: inherit; /*makes the children to float (for example if you use it on list or table)*/ float: right; float: left; }