Re: text area question

From: Date: Sat, 23 Aug 2003 09:24:29 +0000
Subject: Re: text area question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160489@lists.php.net to get a copy of this message
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:dkh2@cwru.edu> 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:kilimajer@webglobe.sk] Sent: Friday, August 22, 2003 07:08 AM To: angelo@zlogic.co.za Cc: Php-General@Lists.Php.Net 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


« previous php.general (#160489) next »