HTML CSS examples for CSS Layout:Position
Html - positioning element to right side
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <!--from www. j a v a 2s . c om--> <body> <div id="ResultBox" style="margin-right:10px;margin-top:5px; height:90%;"> <div class="result" style="display:inline;"> <div style="height:100px; width:150px; display:inline-block; float:left;"> Lorem i <label>Lorem ipsum dolor</label> <br>Lorem ip <label>Lorem ip</label> <br>Lorem ipsum dol <label>Lorem ip</label> </div> <div class="btn" style="float:right;display:inline-block;"> <button>Lorem i</button> </div> </div> </div> </body> </html>