• oxojeck

    (@oxojeck)


    <table>
    <tr>
    <td>col-1</td>
    <td>col-2</td>
    </tr>
    <tr>
    <td>col-3</td>
    <td>col-4</td>
    </tr>
    <tr>
    <td rowspan="3">col-5</td>
    <td rowspan="3">col-6</td>
    </tr>
    <tr>
    </tr>
    <tr>
    </tr>
    </table>

    The blank tr tags is disappears, but otherwise it breaks the table. How it solve? Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Scott DeLuzio

    (@scottdeluzio)

    Since there is no other code included, I am taking a guess at what you’re doing.
    It seems like the table should display as you want it. I went ahead and applied some CSS to this demo of what you’re doing. Specifically, I added a border, and height to the <tr> so you can see that the col-5 and col-6 row is having the correct row span.
    Maybe you need to style the table to get it to look the way you want it?

    Thread Starter oxojeck

    (@oxojeck)

    Scott, try paste this code into wp and save it. After reopened this post, blank tr tags is disappeared.

    martcol

    (@hotmale)

    @oxojeck

    I just pasted your code directly in to a post using the text editor saved it draft and it seemed to come out as expected.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blank tr tags is disappears as p tag’ is closed to new replies.