I'm looking to utilize the overflow: overlay
property in Chrome, and overflow: scroll
in Firefox. Simply declaring the overlay value causes Firefox not to scroll at all, even though I know it's not standard.
My question is: what's the optimal way to achieve this specific behavior in each browser?
Is there a CSS-only fallback solution, or perhaps some clever trick that can be implemented?
If JavaScript is necessary, how can I check for overflow value support?