Jump to content

table rowspan


pneudralics

Recommended Posts

Is there a way to add a rowspan to the following?
Since <td> has stlye in it is there a way to add rowspan?

<TD ROWSPAN="2" >


[code]<table style="width:100%;" cellspacing="0" cellpadding="0">
            <tr>
                        <td style="width:98%;font-size:8pt;vertical-align:middle;" class="mainmenu3">
                <div style="padding-left:10px;">
                <span style="vertical-align:middle;"> <b>{%TITLE%}</b></span>
                </div>
            </td>
            </tr>
            </table>[/code]
Link to comment
Share on other sites

No obvious reason why that table needs rowspan since it only has one row and only has one data cell. But there's no reason why you can't have code like that if you want it:
[code]<td rowspan="2" style="width:98%;font-size:8pt;vertical-align:middle;" class="mainmenu3">[/code]

What are you trying to do?
Link to comment
Share on other sites

No. ROWSPAN is used for when a table data cell needs to SPAN across more than one ROW of the table. It has nothing to do with the size of the table data cell. The size of a table is normally 'as big as it needs to be' to hold all of the content, and no bigger than anything it sits inside. You have a table that's 100% width - the rows in the table aren't going to get any bigger than that.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.