[snip]
Why does it put a space in there?  <br />

It's screwing up my other script which displays just the first 50 words
of
the news article by exploding each word into an array. So /> is showing
up
after each break.

http://www.ticatfans.com/index.php
[/snip]

It is inserting the XHTML acceptable break which is backwards
compatible, but having a look at your source it is doing this....

<br </font><font face="arial" size="2">/>

Inserting a font tag (Bad, Bad Thing TM) in the space and displaying the
last part of the tag. As a matter of fact, there is a font tag for each
word on the page, it appears...

<font face="arial" size="2">Coreslab </font><font face="arial"
size="2">International </font><font face="arial" size="2">Inc.,
</font><font face="arial" size="2">a </font><font face="arial"
size="2">Hamilton-based </font><font face="arial" size="2">concrete
</font><font face="arial" size="2">fabrication </font><font face="arial"
size="2">company, </font><font face="arial" size="2">returned
</font><font face="arial" size="2">from </font><font face="arial"
size="2">a </font>

There is something very wrong. Dump the font tags and you should see an
improvement.

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

Reply via email to