Hello!

I have problem there: I've created a view and created a style output template with my HTML/PHP code there (it begins with <div class="news">. And when viewing my view - I have an unknown margin from <div class="view-content"> . I.e. I have such HTML output:

/*here comes <div class="view">, view's header, etc*/
<div class="view-content">
                                             /*an empty row here!*/
<div class="news">
/*here comes view's footer, etc*/

DOM model says that there is "\n" before <div class="news">. Reviewed my template file, it BEGINS with <div class="news">!
I think maybe it is some kind of error in template merging? Please, help, my project is on the deadline.

Thank you for your replies.

[Edit: Fixed broken formatting. I highly recommend hitting preview before submitting. Or after, even.]

Comments

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

I'm afraid I don't understand the question. I don't know what you mean by "unknown margin" nor do I understand what "DOM model says that there is "\n" before..." means.

dawehner’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closed, because of no response since 4 months. Feel free to reopen the issue again, if you have new informations / the bug still exists.

Thanks.