smerny Posted July 23, 2009 Share Posted July 23, 2009 Is there anyway to adjust the size of textarea besides cols and rows? for example right now I have a text area that I want to have a width 100% of the div it is in, which doesn't always have the same size itself Link to comment https://forums.phpfreaks.com/topic/167127-solved-textarea-size/ Share on other sites More sharing options...
akitchin Posted July 23, 2009 Share Posted July 23, 2009 have you tried style="width: 100%;"? not sure if this would work, but it's worth a shot. Link to comment https://forums.phpfreaks.com/topic/167127-solved-textarea-size/#findComment-881207 Share on other sites More sharing options...
smerny Posted July 23, 2009 Author Share Posted July 23, 2009 does work, thanks Link to comment https://forums.phpfreaks.com/topic/167127-solved-textarea-size/#findComment-881221 Share on other sites More sharing options...
haku Posted July 24, 2009 Share Posted July 24, 2009 Make sure you still set the rows and columns - they are required for valid code (in XHTML at least). Link to comment https://forums.phpfreaks.com/topic/167127-solved-textarea-size/#findComment-881732 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.