Ok, look at the following code, it is a form textarea for a "test your html" page, so you put in your html and it shows what it looks like... :
See where the "<<", "<", ">" and ">>" buttons are, if you read the code, you'll see that it resizes the textarea colums.... It works in IE but I don't think it does in Netscape, I tried it on my school computer (Mac).
So, please tell me why it doesn't work, and if you know how to fix it!
Thanx!
Code:
<input type="button" value=" << " onClick="document.form.code.cols-=10" class="button"> <input type="button" value=" < " onClick="document.form.code.cols-=5" class="button"> <input type="button" value=" > " onClick="document.form.code.cols+=5" class="button"> <input type="button" value=" >> " onClick="document.form.code.cols+=10" class="button">
<form action="html-test_ACTION.php" method="post" name="form">
<textarea name="code" cols="60" rows="20" class="textarea" style="font-family:Courier New">
</textarea><br>
<input type="submit" value="Test It!" class="button">
</form>
See where the "<<", "<", ">" and ">>" buttons are, if you read the code, you'll see that it resizes the textarea colums.... It works in IE but I don't think it does in Netscape, I tried it on my school computer (Mac).
So, please tell me why it doesn't work, and if you know how to fix it!
Thanx!