Solved

html table

Posted on 2011-03-21
1
158 Views
Last Modified: 2012-08-13
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
Comment
Question by:VBdotnet2005
1 Comment
 
LVL 7

Accepted Solution

by:
nbove earned 125 total points
Comment Utility
Please define what you want us to help you with a little better.  I'm not sure what you want.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now