ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Add vertical Scrollbar to DIV in CSS<p>Hi&nbsp;chetan,</p> <p>Change the css with below css.</p> <pre class="brush: css">#currency_converter .form_table { display: block; float: left; width: 100%; border-left: solid 1px #cccccc; border-right: solid 1px #cccccc; border-bottom: solid 1px #cccccc; padding-bottom: 10px; background-color: #ffffff; max-height: 200px; overflow-y: scroll; overflow-x: hidden; }</pre> <p>Check the below example.</p> <div class="demo_block"> <pre class="brush: html">&lt;style type=&#34;text/css&#34;&gt; #currency_converter { display: block; float: left; width: 100%; border-left: solid 1px #cccccc; border-right: solid 1px #cccccc; border-bottom: solid 1px #cccccc; padding-bottom: 10px; background-color: #ffffff; max-height: 300px; overflow-y: scroll; overflow-x: hidden; } &lt;/style&gt; &lt;div id=&#34;currency_converter&#34;&gt; test&lt;br /&gt;test&lt;br /&gt; test&lt;br /&gt;test&lt;br /&gt; test&lt;br /&gt;test&lt;br /&gt; test&lt;br /&gt;test&lt;br /&gt; test&lt;br /&gt;test&lt;br /&gt; test&lt;br /&gt;test&lt;br /&gt; test&lt;br /&gt;test&lt;br /&gt; test&lt;br /&gt;test&lt;br /&gt; test&lt;br /&gt;test&lt;br /&gt; test&lt;br /&gt;test&lt;br /&gt; &lt;/div&gt;</pre> </div> <p><a class="demo button orange btn btn-red">Demo</a></p>https://www.aspforums.net:443/Threads/628778/Add-vertical-Scrollbar-to-DIV-in-CSS/https://www.aspforums.net:443/Threads/628778/Add-vertical-Scrollbar-to-DIV-in-CSS/Wed, 31 Oct 2018 01:50:36 GMT