Re: Formatting problem...
| From: | Philip Hallstrom | Date: | Wed, 25 Jul 2001 17:23:30 +0000 |
| Subject: | Re: Formatting problem... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59577@lists.php.net to get a copy of this message | ||
I'm not sure I understand your problem... this is what it looks like on my
machine (your url that is)
http://www.adhesivemedia.com/~philip/gigs.gif
IE 5.5 on w2k
On Wed, 25 Jul 2001, Chris Cocuzzo wrote:
> 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
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>