dmccabe Posted March 31, 2008 Share Posted March 31, 2008 I have a couple of <textarea> sections on a form I just created, but when you go to put text in them the first line is always indented (tabbed). You can press backspace to remove the indent, but why is it there? <tr> <td colspan="6" align="center">Any additional account instructions relating to damage?<br /> <TEXTAREA name="additionaldamage" rows="10" cols="40"> </TEXTAREA> </td> </tr> Quote Link to comment https://forums.phpfreaks.com/topic/98776-why-is-my-textarea-tabbed/ Share on other sites More sharing options...
haku Posted March 31, 2008 Share Posted March 31, 2008 its not a tab, rather its whitespace, because you have whitespace in your code between the textarea tags. Change your code to this: <textarea name="additionaldamage" rows="10" cols="40"></textarea> Quote Link to comment https://forums.phpfreaks.com/topic/98776-why-is-my-textarea-tabbed/#findComment-505458 Share on other sites More sharing options...
dmccabe Posted March 31, 2008 Author Share Posted March 31, 2008 lol /me slaps forehead. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/98776-why-is-my-textarea-tabbed/#findComment-505470 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.