We would like to know how to scroll text area horizontally.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
textarea {<!-- w w w. j a v a2s. c om-->
width: 500px;
height: 100px;
white-space: nowrap;
overflow-x: auto;
}
</style>
</head>
<body>
<textarea></textarea>
</body>
</html>
The code above is rendered as follows: