Formatting problem...

From: Date: Wed, 25 Jul 2001 17:02:17 +0000
Subject: Formatting problem...
Groups: php.general 
Request: Send a blank email to php-general+get-59573@lists.php.net to get a copy of this message
hey- this is a little bit off topic, but it relates. I'm pulling a field called info from my db. When I entered the info into the db in the first place, I added the '\n' character so that the HTML result wouldn't be all on one line. The problem is that when the page displays...the text in that particular part of the table doesn't look right...there's a significant space in between the bottom of the cell where there is some text, and all of the other text. I have a feeling it's because of the way the text is written in between the tags.. here's the example: Here's the code that results in the odd formatting... <td width="292" bgcolor="#a9a9a9" valign="top"> <font face="verdana,arial" size="1" color="#ffffff"><?php echo stripcslashes($gdata["info"]);?></font> </td> here's html from when i did this same page without any php elements(nearly the same)... <td width="292" valign="top"> <font face="verdana" size="1">We're playing once again at the Corner area of the Middle East. Show starts at 10pm, free admission. This one is apparently 18+, but if you're a risky person you can try to get in to eat/drink before we play and then stay for the show. </font> </td> notice that the text in the second one is spaced out on a few lines, but there isn't a line break anywhere...that text in the second example looks correct in the browser... here's the page with the problem: www.fplg.net/gigs.php anyone else have this problem?? chris

« previous php.general (#59573) next »