Re: [PHP] text area question

2003-08-23 Thread Marek Kilimajer
This DOES correct the error. textarea is like pre element, white 
space and newlines are NOT ignored. Try it for yourself.

Keith Higgs wrote:
Only if you're concerned about those few whitespace characters increasing your file size. Granted, there mey be PHP output related issues to a multi-line whitespace within an echo or print operation but, so far as the actual HTML is concerned, white space is white space and it should all be ignored by the browser's  rendering engine.

The suggested correction DOES do a lot for programming style by eliminating the superfluous space, and the possibility that you may introduce errors by inserting other code in that area.

D. Keith Higgs mailto:[EMAIL PROTECTED] 216-368-0559
 Case Western Reserve University, Webmaster / Database Analyst - University Library
 Additional Information at http://www.cwru.edu/UL/ and http://keith.cwru.edu/
Never overestimate the sanity of your sysadmin.
 No trees were killed in the creation of this message. 
 However, many electrons were terribly inconvenienced.


-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 22, 2003 07:08 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] text area question

Your textarea should be:
textarea name=  /textarea
and not
textarea name=  


/textarea

Angelo Zanetti wrote:


Hi this is slightly off topic but i hope i will be forgived.

I have a textarea and whenever my page loads and I click in 
it the cursor

nevers starts at the very beginning and I have to push the 
backspace buttton

until i get to the start. is there a property or something 
to fix this??

thanx in advance
angelo




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] text area question

2003-08-22 Thread Marek Kilimajer
Your textarea should be:
textarea name=  /textarea
and not
textarea name=  


/textarea

Angelo Zanetti wrote:

Hi this is slightly off topic but i hope i will be forgived.

I have a textarea and whenever my page loads and I click in it the cursor
nevers starts at the very beginning and I have to push the backspace buttton
until i get to the start. is there a property or something to fix this??
thanx in advance
angelo




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] text area question

2003-08-22 Thread Keith Higgs
Only if you're concerned about those few whitespace characters increasing your file 
size. Granted, there mey be PHP output related issues to a multi-line whitespace 
within an echo or print operation but, so far as the actual HTML is concerned, white 
space is white space and it should all be ignored by the browser's  rendering engine.

The suggested correction DOES do a lot for programming style by eliminating the 
superfluous space, and the possibility that you may introduce errors by inserting 
other code in that area.

D. Keith Higgs mailto:[EMAIL PROTECTED] 216-368-0559
 Case Western Reserve University, Webmaster / Database Analyst - University Library
 Additional Information at http://www.cwru.edu/UL/ and http://keith.cwru.edu/
Never overestimate the sanity of your sysadmin.

 No trees were killed in the creation of this message. 
 However, many electrons were terribly inconvenienced.

 -Original Message-
 From: Marek Kilimajer [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 22, 2003 07:08 AM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] text area question
 
 
 Your textarea should be:
 textarea name=  /textarea
 
 and not
 textarea name=  
 
 
 
 
 /textarea
 
 
 Angelo Zanetti wrote:
 
  
  Hi this is slightly off topic but i hope i will be forgived.
  
  I have a textarea and whenever my page loads and I click in 
 it the cursor
  nevers starts at the very beginning and I have to push the 
 backspace buttton
  until i get to the start. is there a property or something 
 to fix this??
  
  thanx in advance
  angelo
  
  
  
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php