text area problems
Posted: Wed Nov 26, 2008 5:17 am
first post... I'm a complete noob on the topic of web design. Im trying to create a web page for my kids school markets. It doesnt have to be flash. The layout is open source I have taken from the web. I was impressed with myself for putting the layout in a header file and including it on my pages, getting rotating images, reading a file and getting the next market date to display, and I got a plain emailer page set up and working. But then I tried to add the formatting to it. Something that should be the easy part. However I'm having problems with the textarea width and wrapping. Would be really appreciative if someone can help me out on what is probably(hopefully) a very simple problem.
1. The textarea width. It doesnt matter how many columns I put in, its always the same width if the table is in a .php page. in a plain .html page, the text area grows and shrinks as asked. Same problem in firefox and IE. WHY!?!?!?!
2. The wrapping. Doesnt matter what I do in firefox, it wont wrap at all. It just goes off on one long long line, both in php and html forms. On IE this doesnt happen. Doesnt matter what I put in the wrap attribute, or if I leave it out. See what I mean at http://www.wscc.org.au/markets/enquiry.php At the moment I'm just bouncing the email back to sender.
Firefox

IE

1. The textarea width. It doesnt matter how many columns I put in, its always the same width if the table is in a .php page. in a plain .html page, the text area grows and shrinks as asked. Same problem in firefox and IE. WHY!?!?!?!
2. The wrapping. Doesnt matter what I do in firefox, it wont wrap at all. It just goes off on one long long line, both in php and html forms. On IE this doesnt happen. Doesnt matter what I put in the wrap attribute, or if I leave it out. See what I mean at http://www.wscc.org.au/markets/enquiry.php At the moment I'm just bouncing the email back to sender.
Code: Select all
<tr>
<td valign="top">Query</td>
<td>
<textarea name="Query" rows="10" cols="50" wrap = "virtual"></textarea>
</td>
</tr>
IE
