HTML CSS examples for CSS Layout:Position
position a div scrollbar on the left hand side
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .list_container {<!--from w w w .j a v a 2 s. co m--> direction:rtl; overflow:auto; height:51px; width:51px; } #item_direction { direction:ltr; } </style> </head> <body> <div class="list_container"> <div id="item_direction"> Lor </div> <div id="item_direction"> Lor </div> <div id="item_direction"> Lor </div> <div id="item_direction"> Lor </div> <div id="item_direction"> Lor </div> <div id="item_direction"> Lor </div> <div id="item_direction"> Lor </div> <div id="item_direction"> Lor </div> <div id="item_direction"> Lor </div> <div id="item_direction"> Lore </div> <div id="item_direction"> Lore </div> <div id="item_direction"> Lore </div> </div> </body> </html>