pneudralics Posted March 12, 2006 Share Posted March 12, 2006 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] Quote Link to comment Share on other sites More sharing options...
AndyB Posted March 12, 2006 Share Posted March 12, 2006 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? Quote Link to comment Share on other sites More sharing options...
pneudralics Posted March 12, 2006 Author Share Posted March 12, 2006 I was trying to make the row larger, but I was just wondering if I can add rowspan inside the <td stlye> instead of doing a new td tag. Quote Link to comment Share on other sites More sharing options...
AndyB Posted March 12, 2006 Share Posted March 12, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.