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? Link to comment https://forums.phpfreaks.com/topic/141426-text-area/ 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> Link to comment https://forums.phpfreaks.com/topic/141426-text-area/#findComment-740307 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.