<html xmlns="http://www.w3.org/1999/xhtml"> <head> <style> div.contentcontainer { float:right; overflow: hidden; } </style> </head> <body> <div class="contentcontainer"> <div style="height:2000px;width:300px;background-color:blue"></div> </body> </html>