How to prevent Prevent Firefox and Chrome Scrollbar Jump using CSS

This is one of the CSS trick, using this we can get side bar in Chrome and Firefox. Basically, if page is not full we can't see the side bar in safari browsers. If we add below CSS trick we can get the sidebar of Chrome and mozilla...








    <style type="text/css">
        html{ overflow-y:scroll; }
    </style>




Output will be:



Share this post :

Post a Comment

Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.

 
Support : Ranga Rajesh Kumar
Copyright © 2012. ASP.NET Examples - All Rights Reserved
Site Designed by Ranga Rajesh Kumar