HTML CSS examples for CSS Widget:Menu Dropdown
Add scrollbar on dropdown menu options
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .FixedHeightContainer<!-- w ww.j av a2 s.c o m--> { float:right; height:251px; width:251px; overflow:auto; } </style> </head> <body> <div class="FixedHeightContainer"> <h2>Title</h2> <div class="Content"> my <br> my <br> my <br> my <br> my <br> my <br> my <br> my <br> my <br> my <br> my <br> my <br> my <br> my <br> my <br> my <br> my <br> my <br> </div> </div> </body> </html>