Jump to content


Photo

textarea formatting


  • Please log in to reply
2 replies to this topic

#1 natalieG

natalieG
  • Members
  • PipPipPip
  • Advanced Member
  • 63 posts

Posted 16 June 2006 - 04:25 PM

when we use the below code, the text in the testarea is indented about half the textarea width
instead of starting at the left margin. we have tried changing $NOTE to: trim($NOTE) and this does
not solve the problem.
______________________________________________________________________________________


[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]<tr><td width="664" COLSPAN="2"><textarea name="NOTE" rows="20" cols="85" tabindex="1"> <?php echo $NOTE;?></textarea></td>[!--colorc--][/span][!--/colorc--]

_________________________________________________________________________________

Chjarlotte-

#2 jvrothjr

jvrothjr
  • Members
  • PipPipPip
  • Advanced Member
  • 300 posts
  • LocationOhio

Posted 16 June 2006 - 04:59 PM

[!--quoteo(post=384639:date=Jun 16 2006, 12:25 PM:name=natalieG)--][div class=\'quotetop\']QUOTE(natalieG @ Jun 16 2006, 12:25 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
when we use the below code, the text in the testarea is indented about half the textarea width
instead of starting at the left margin. we have tried changing $NOTE to: trim($NOTE) and this does
not solve the problem.
______________________________________________________________________________________
[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]<tr><td width="664" COLSPAN="2"><textarea name="NOTE" rows="20" cols="85" tabindex="1"> <?php echo $NOTE;?></textarea></td>[!--colorc--][/span][!--/colorc--]

_________________________________________________________________________________

Chjarlotte-
[/quote]

Could be alignment of the table
try <td align=left width=664 colsspan=2>
If you understand everything you know nothing!

http://rcchjr.awardspace.com/

#3 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 16 June 2006 - 07:06 PM

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?
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users