dadamssg Posted January 19, 2009 Share Posted January 19, 2009 i want something like the <text area> tag where i can set the size of the box and it will have a scroll bar on the side if the input is larger than the designated size. The problem with the text area tag is that you can put your cursor in there and change the input...i don't want that. any html gurus out there? Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted January 19, 2009 Share Posted January 19, 2009 You can use css to style a div with a scrollbar <style> div.scroll { height: 200px; width: 300px; overflow: auto; border: 1px solid #666; background-color: #ccc; padding: 8px; } </style> <div class="scroll"></div> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.