<style> textarea { overflow: -moz-scrollbars-vertical; overflow-y: scroll; } </style> <textarea cols=40 rows=2 style="font-size:13px">Has NO scrollbar in Windows XP theme</textarea> <textarea cols=40 rows=2 style="font-size:14px">Has scrollbar in Windows XP theme</textarea>
Programming Tips - I am using overflow: -moz-scrollbars-vertical; but Firefox is not
Date: 2009feb27
Platform: web
Warning: This option has changed
Q. I am using overflow: -moz-scrollbars-vertical; but Firefox is not
displaying a vertical scrollbar. Why?
A. It seems that with the regular Windows XP theme it does
not display the scroll bar when the textarea has 2 rows.
This is not a problem when using Windows Classic theme.
The solution is to make the font a bit bigger.