[wp-trac] [WordPress Trac] #32548: Unecessary White Space Above Table

WordPress Trac noreply at wordpress.org
Mon Jun 1 13:49:53 UTC 2015


#32548: Unecessary White Space Above Table
--------------------------+-----------------------------
 Reporter:  ChuckC3       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.2.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 This may be a known problem but this is the first time I've discovered it.
 I have found that if I put a table on a page in this format:

 <TABLE>
 <TR>
 <TD>xx</TD><TD>yy</TD></TR>
 <TR><TD>11</TD><TD>22</TD></TR>
 <TABLE>

 WordPress will generate a number of unnecessary lines of white space prior
 to the table. If I remove the white space between the HTML elements so
 that it looks like this the problem of the unnecessary white space prior
 to the table goes away but the code looks like cr**p, of course:

 <TABLE><TR><TD>xx</TD><TD>yy</TD></TR><TR><TD>11</TD><TD>22</TD></TR><TABLE>

 Here's a link that led me to the solution to this problem::

 https://en.forums.wordpress.com/topic/extra-spaces-on-top-of-tables

 The above post was from 2007 yet this problem still exists. Is everyone
 aware of this problem? Is there a solution?

 Thanks,

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32548>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list