WickEd Posted December 30, 2006 Share Posted December 30, 2006 Hi there,I'm building a website using a modified WordPress theme. The theme uses a file called comments.php, which creates the input elements for user comments and such. Because I have moderated this design, I have resized the main 'div' element to fit in an extra column. Unfortunately, the TEXTAREA in this section, found in comments.php, refuses to go any smaller and bumps extends outside this div, bumping other things out of its way.I'm using the simplest form of this command I can think of;<TEXTAREA WRAP="physical" NAME="comment" ROWS="4" COLS="20">A textarea.</TEXTAREA>and yet it does not change shape from what I would say is about 8 rows high and 50 cols - a good looking textarea but one too large. Can anyone think of why on Earth this would be happening? It's driving me nuts! Even the line<textarea>A textarea</textarea>right below that one makes that big-sized textarea, however on a different file I can modify the rows and cols no problem.Is this a PHP error overriding some other values? What do I look for?Thanks so much guys. Quote Link to comment Share on other sites More sharing options...
michaellunsford Posted December 30, 2006 Share Posted December 30, 2006 w3c reports: there is no attribute "wrap"try killing it and see what happens. Quote Link to comment Share on other sites More sharing options...
Stopofeger Posted December 30, 2006 Share Posted December 30, 2006 There's gotta be some setup in the css.Check the css. maybe there is width: and height: for textarea's. Quote Link to comment Share on other sites More sharing options...
fenway Posted December 30, 2006 Share Posted December 30, 2006 Textareas are funny that way... easiest way is just to wrap it in a div of whatever width you want. 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.