Entry
Why do multiple echo and printf functions, used to display a table, display newline charachers before the table in Netscape but not in IE?
Feb 17th, 2008 23:59
dman, Articles Hosting, Chris Hester, Jose Rivera, http://www.ttnr.org
Netscape is a lot stricter when it comes to HTML. It might be your
HTML
that is not 100% accurate. Have you closed all open tags? Eg: <p>
needs
to have </p> at the end of the text. I know it's a pain, but it can
help getting both browsers to work the same way.
Netscape 6 is even stricter, and will put in extra lines if you're not
careful.
Otherwise, using echo and printf for tables should only affect the
cells where you've used PHP, not before or after the table, as that is
HTML. Hope I am on the right track here.
====
w3schools.com/php/func_string_sprintf.asp
i hope that helps.