Extra spaces before a table
-
I have a strange issue with extra white space. I have a page that ends with the following code:
<table>
<caption>Caption Text</caption>
[loop type=”post” category=”article” tag=”sometag” orderby=”title” order=”ASC” clean=”true”]
<tr><th>[content field=”code”]</th><td>[field title]</td></tr>
[/loop]
</table>Originally the caption was before the table as regular text, but I realized there were about 4 blank lines between that line and the table. I used the caption to keep the text in the right place above the table, but there were still about 4 extra lines above the table. I added the clean=”true” to the loop to see if it would help, and now there are only 3 extra lines. I think it’s normal to have at least one blank line above a table, but this is much more than normal.
What is especially strange is that the clean=”true” had an effect on the space before the table (which is before the loop).
Any ideas what can get rid of the extra space before the table? Thanks.
- The topic ‘Extra spaces before a table’ is closed to new replies.