I'm trying to create a horizontal scroll bar on the top of a textarea for an HTML form. This has been answered here, and StanleyH's example at http://jsfiddle.net/TBnqw/1/ works perfectly, but I have a further complication.
Can it be rewritten with a <span>
instead of a <div>
, and also as straight code without any jQuery? The site I inherited has code that modifies all <div>
's, so I'd need to use a <span>
in block mode if possible.
Answer:
Fixed for Firefox: http://jsfiddle.net/TBnqw/537