• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 181
  • Last Modified:

html table

I am trying to create a nice html table with a slim borders and cell. This is what I have so far for my table in asp.net page. It is ok,but could be better. Could you help?

<table id= "Table1" class="style2" bgcolor="White" style="border-width: thin; border-style: solid" border ="1">
     <tr bgcolor="#5D7B9D"><td colspan = "2" align="center">
     <font color = "white"><b>Customer table</b>  </font>
           
     </td>
         
        </tr>
        <tr id="Tr1" runat="server">
            <td style="width: 137px">
               
            <asp:CheckBox ID="CheckBox1" runat="server" />
            </td>
            <td style="width: 193px">
                <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
            &nbsp;</td>
        </tr>
       
       <tr id="Tr2" runat="server">
            <td style="width: 137px">
               
                <asp:CheckBox ID="CheckBox2" runat="server" />
            </td>
            <td style="width: 193px">
                <asp:Label ID="Label2" runat="server" Text=""></asp:Label>
            </td>
        </tr>

         <tr id="Tr3" runat="server">
            <td style="width: 137px">
               
                <asp:CheckBox ID="CheckBox3" runat="server" />
            </td>
            <td style="width: 193px">
                <asp:Label ID="Label3" runat="server" Text=""></asp:Label>
            </td>
        </tr>

        <tr id="Tr4" runat="server">
            <td style="width: 137px">
               
                <asp:CheckBox ID="CheckBox4" runat="server" />
            </td>
            <td style="width: 193px">
                <asp:Label ID="Label4" runat="server" Text=""></asp:Label>
            </td>
        </tr>
       

        <tr id="Tr5" runat="server">
            <td style="width: 137px">
               
                <asp:CheckBox ID="CheckBox5" runat="server" />
            </td>
            <td style="width: 193px">
                <asp:Label ID="Label5" runat="server" Text=""></asp:Label>
            </td>
        </tr>
               
        <tr id="Tr6" runat="server">
            <td style="width: 137px">
             
                <asp:CheckBox ID="CheckBox6" runat="server" />
            </td>
            <td style="width: 193px">
                <asp:Label ID="Label6" runat="server" Text=""></asp:Label>
            </td>
        </tr>
         
    </asp:Table>
0
VBdotnet2005
Asked:
VBdotnet2005
1 Solution
 
Nathan BoveSoftware EngineerCommented:
Please define what you want us to help you with a little better.  I'm not sure what you want.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now