kred
10-07-2004, 10:04 PM
I'm trying to use "echo nl2br" to seperate new lines from a DB driven description for a job, but when I added "nl2br" to "echo" it puts a huge space at the top of the page, if I remove "nl2br" from "echo" the page appears correctly,, I not explaining it very well so I'll just show an example:
with "nl2br" to "echo" the page appears like this:
--title image
{
huge space added
}
--then copy
without "nl2br" to "echo" the page appears like this:
--title image
--then copy
no huge space being added. appears correctly
why is that? and how can I work around it? or fix it
Thanks for any direction
Ken
with "nl2br" to "echo" the page appears like this:
--title image
{
huge space added
}
--then copy
without "nl2br" to "echo" the page appears like this:
--title image
--then copy
no huge space being added. appears correctly
why is that? and how can I work around it? or fix it
Thanks for any direction
Ken