in reply to Using rowspan with CGI.pm

You have an extra TD in each of your rows below your rowspans. You want the HTML to look like this:
<table border=1> <tr> <td rowspan=2>foo1</td> <td>bar1</td> </tr> <tr> <td>bar2</td> </tr> <tr> <td rowspan=2>foo2</td> <td>bar3</td> </tr> <tr> <td>bar4</td> </tr> </table>
Notice how bar2 and bar4 have only one TD in the row.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: Using rowspan with CGI.pm
by loris (Hermit) on Jun 24, 2005 at 14:26 UTC

    Hello merlyn,

    You are right, of course. However, even if I remove the extraneous td, I still get bar1 and bar3 ending up in their own row. Why is that?

    Thanks,

    loris