natalieG Posted June 16, 2006 Share Posted June 16, 2006 when we use the below code, the text in the testarea is indented about half the textarea widthinstead of starting at the left margin. we have tried changing $NOTE to: trim($NOTE) and this doesnot solve the problem.______________________________________________________________________________________[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--][b]<tr><td width="664" COLSPAN="2"><textarea name="NOTE" rows="20" cols="85" tabindex="1"> <?php echo $NOTE;?></textarea></td>[/b][!--colorc--][/span][!--/colorc--]_________________________________________________________________________________Chjarlotte- Quote Link to comment https://forums.phpfreaks.com/topic/12170-textarea-formatting/ Share on other sites More sharing options...
jvrothjr Posted June 16, 2006 Share Posted June 16, 2006 [!--quoteo(post=384639:date=Jun 16 2006, 12:25 PM:name=natalieG)--][div class=\'quotetop\']QUOTE(natalieG @ Jun 16 2006, 12:25 PM) [snapback]384639[/snapback][/div][div class=\'quotemain\'][!--quotec--]when we use the below code, the text in the testarea is indented about half the textarea widthinstead of starting at the left margin. we have tried changing $NOTE to: trim($NOTE) and this doesnot solve the problem.______________________________________________________________________________________[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--][b]<tr><td width="664" COLSPAN="2"><textarea name="NOTE" rows="20" cols="85" tabindex="1"> <?php echo $NOTE;?></textarea></td>[/b][!--colorc--][/span][!--/colorc--]_________________________________________________________________________________Chjarlotte-[/quote]Could be alignment of the tabletry <td align=left width=664 colsspan=2> Quote Link to comment https://forums.phpfreaks.com/topic/12170-textarea-formatting/#findComment-46352 Share on other sites More sharing options...
AndyB Posted June 16, 2006 Share Posted June 16, 2006 There's nothing in the code you posted to explain any of that (unless $note has tabs), so the cause must lie elsewhere. Can we have a link to the online page where this is happening? Quote Link to comment https://forums.phpfreaks.com/topic/12170-textarea-formatting/#findComment-46418 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.