Solved

html table

Posted on 2011-03-21
1
161 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
ID: 35182661
Please define what you want us to help you with a little better.  I'm not sure what you want.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to create a textarea which saves text in HTML 8 47
Html form and modal / img src -problem 3 31
Set time on Session (ASP) 14 23
HTML <font style="color:red"> 9 32
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

830 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