Link to home
Start Free TrialLog in
Avatar of VBdotnet2005
VBdotnet2005Flag for United States of America

asked on

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>
ASKER CERTIFIED SOLUTION
Avatar of Nathan Bove
Nathan Bove
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial