border missed for td

H

hon123456

Dear all,

I have a table with 2 TR. The first TR has two TD. The
second TR has four TD.
And now the second TD in first TR is missing the border around it. I
think in same table, when
TR have different number of TD, the TR with fewer TD will exist the
problem. How can I solved that?
The following is my html code. Thanks

<table cols="4" style="width: 100%;" border = "1px" border="1"
cellpadding="2" cellspacing="0">
<tr>
<td >
Section 2
</td>
<td >

Electronic Approval
</td>

</tr>


<tr>
<td >
Approved by
</td>
<td >
<asp:Label ID="lblApprovedBy" runat="server"></
asp:Label>
</td>
<td >
&nbsp;Date of Approval
</td>
<td >
<asp:Label ID="lblDateOfApproval" runat="server"></
asp:Label>
</td>
</tr>
</table>
 
R

rf

hon123456 said:
Dear all,

I have a table with 2 TR. The first TR has two TD. The
second TR has four TD.
And now the second TD in first TR is missing the border around it. I

Which browser? Which version?
think in same table, when
TR have different number of TD, the TR with fewer TD will exist the
problem. How can I solved that?
The following is my html code. Thanks

No it is not. It looks like asp code.

Provide the code that is actually sent to the browser. Do a view->source if
needed and copy/paste that.
 
A

Andy

hon123456 said:
Dear all,

I have a table with 2 TR. The first TR has two TD. The
second TR has four TD.
And now the second TD in first TR is missing the border around it. I
think in same table, when
TR have different number of TD, the TR with fewer TD will exist the
problem. How can I solved that?
The following is my html code. Thanks

<table cols="4" style="width: 100%;" border = "1px" border="1"
cellpadding="2" cellspacing="0">
<tr>
<td >
Section 2
</td>
<td >

Electronic Approval
</td>

</tr>


<tr>
<td >
Approved by
</td>
<td >
<asp:Label ID="lblApprovedBy" runat="server"></
asp:Label>
</td>
<td >
&nbsp;Date of Approval
</td>
<td >
<asp:Label ID="lblDateOfApproval" runat="server"></
asp:Label>
</td>
</tr>
</table>



Try this instead...

<table width="100%" border="1" cellpadding="2" cellspacing="0">
<tr>
<td colspan="2">Section 2</td>
<td colspan="2">Electronic Approval</td>
</tr>
<tr>
<td>Approved by</td>
<td>ASP data here</td>
<td>&nbsp;Date of Approval</td>
<td>ASP data here</td>
</tr>
</table>

Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top