Quantcast
Channel: html2openxml Discussions Rss Feed
Viewing all articles
Browse latest Browse all 228

New Post: Problems with colspan and rowspan together

$
0
0
I'm trying to generate a table that has colspan AND rowspan in the same cell, but the table is being generated problems. This problem happens only when a cell has rowspan AND colspan. Anyone else have this problem? Anyone know a solution?

Here is a sample code:
<table width="100%" border="1">
    <tr style="font-weight: bold">
        <td>Studio</td>
        <td colspan="2" rowspan="2">Animes</td>
    </tr>
    <tr>
        <td>Pixar</td>
    </tr>
    <tr>
        <td>Studio Ghibli</td>
        <td>Grave of the Fireflies</td>
        <td>Spirited Away</td>
    </tr>
</table>
Generated:
Image

How should generate:
Image

Viewing all articles
Browse latest Browse all 228

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>