Re: Extra spacing with <br> in HTML

From: Date: Mon, 29 Jul 2002 12:51:51 +0000
Subject: Re: Extra spacing with <br> in HTML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-110160@lists.php.net to get a copy of this message
On Mon, 2002-07-29 at 05:29, Richard Lynch wrote: > >That creates a lot of white space when that HTML is rendered. How do I > >tell PHP not to put line breaks in a situation like that? > > You can't really have the user putting in HTML and then you adding in > nl2br() as well... > > If you're gonna let them type in HTML, just have them put in any line-breaks > and <P> tags they need. > > If they don't understand the BR or P tag, they won't be able to do any > others either. :-) Yeah. Lucky for us, I am the user. So, I know what rules to follow. I was just hoping for some extra convenience. Thanks! -- Kevin Breit <mrproper@ximian.com>

« previous php.general (#110160) next »