H
hazz
Below is one row with a company logo in the left table cell and 'Reporting Tool' in the table cell on the right.
I would like to add a button in this same row, just to the right of the company logo, which will be for clicking on to create an Excel spreadsheet from the grid.
How do I use the colspan tag so that the rows above and below don't create new table cells themselves? Thank you. -greg
<tr>
<td colspan="1" style="height: 1px; text-align: center; ">
<img src="Images/logo_small.gif" style="text-align: center; margin: 0px;" /></td>
<td style="height: 1px;width:10%; text-align: center"> Put button here. </td>
<td colspan="1" style="height: 1px;width:100%; text-align: center;">
<span style="font-size: 16pt; font-family: Tahoma"></span>
<h2><span style="font-size: 16pt; font-family: Tahoma">Reporting Tool</span></h2>
</td>
</tr>
what do i put in this row below so it is not affected by the additional table cell in the row above it? colspan = ?
<tr>
<td style="vertical-align: top; width: 200px; height: 300px; background-color: lightgrey">
<asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1" ImageSet="Arrows" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged">
<ParentNodeStyle Font-Bold="False" />
<HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" BackColor="Yellow" />
<SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
VerticalPadding="0px" />
<NodeStyle Font-Names="Tahoma" Font-Size="10pt" ForeColor="Black" HorizontalPadding="5px"
NodeSpacing="0px" VerticalPadding="0px" />
</asp:TreeView>
</td>
<td style="width: 403px; margin: 0px;">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
I would like to add a button in this same row, just to the right of the company logo, which will be for clicking on to create an Excel spreadsheet from the grid.
How do I use the colspan tag so that the rows above and below don't create new table cells themselves? Thank you. -greg
<tr>
<td colspan="1" style="height: 1px; text-align: center; ">
<img src="Images/logo_small.gif" style="text-align: center; margin: 0px;" /></td>
<td style="height: 1px;width:10%; text-align: center"> Put button here. </td>
<td colspan="1" style="height: 1px;width:100%; text-align: center;">
<span style="font-size: 16pt; font-family: Tahoma"></span>
<h2><span style="font-size: 16pt; font-family: Tahoma">Reporting Tool</span></h2>
</td>
</tr>
what do i put in this row below so it is not affected by the additional table cell in the row above it? colspan = ?
<tr>
<td style="vertical-align: top; width: 200px; height: 300px; background-color: lightgrey">
<asp:TreeView ID="TreeView1" runat="server" DataSourceID="SiteMapDataSource1" ImageSet="Arrows" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged">
<ParentNodeStyle Font-Bold="False" />
<HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" BackColor="Yellow" />
<SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
VerticalPadding="0px" />
<NodeStyle Font-Names="Tahoma" Font-Size="10pt" ForeColor="Black" HorizontalPadding="5px"
NodeSpacing="0px" VerticalPadding="0px" />
</asp:TreeView>
</td>
<td style="width: 403px; margin: 0px;">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>