DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Always Show Vertical Scrollbar In Firefox
To always show the vertical scrollbar, regardless of whether there is content to scroll (Ã la Internet Explorer), add this to userContent.css
html {
overflow: -moz-scrollbars-vertical;
}
Tested in Firefox 1.0 and above.






Comments
Ahsan Gill replied on Fri, 2013/05/10 - 6:43am
event security newry event security lisburn event security londonderry event security belfast event security armagh event security county-armagh event security swansea event security st asaph event security newport event security cardiff event security bangor event security stirling event security perth event security inverness event security glasgow event security edinburgh
Snippets Manager replied on Sat, 2009/01/24 - 3:20pm
Snippets Manager replied on Wed, 2008/12/10 - 5:37am
html { overflow: -moz-scrollbars-vertical; } html { overflow-x: auto; }Snippets Manager replied on Tue, 2008/04/08 - 10:27am
scrolling="yes" style="overflow-x:auto"to your Tag, and scrollbars in Firefox work like scrollbars in Internet Explorer.Snippets Manager replied on Fri, 2007/07/27 - 2:49pm
Snippets Manager replied on Fri, 2007/01/12 - 8:40pm
Snippets Manager replied on Wed, 2006/12/06 - 5:18pm
Paul Singleton replied on Thu, 2006/02/09 - 2:14pm