Solved

How to make two tables sit side by side on a web form?

Posted on 2016-09-08
1
38 Views
Last Modified: 2016-09-12
I am using Asp.net web form programming. I have two tables on a web form, and I would like to display them side by side.
Both table have several rows and about 3 columns in each table. Each row has a text box, a label and a check box control.
The actual code is not shown here, but a simple example is given below which gives you the gist of what I am talking about.
How can I place the tables side by m? side on a web form?  That is my question.

<table Id="TableOne">
         <tr>
            <td>
               <strong>Select a Font Style:</strong>
            </td>
      </tr>
</table>

<table Id="TableTwo">
         <tr>
            <td>
               <strong>Select a Font Style:</strong>
            </td>
      </tr>
</table>
0
Comment
Question by:brgdotnet
1 Comment
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 500 total points
ID: 41790711
quick solution, try create another table to include these 2 tables:
<table cellpadding="0" cellspacing="0" class="style1">
            <tr>
                <td>
                    <table Id="TableOne">
                        <tr>
                            <td>
                               <strong>Select a Font Style:</strong>
                            </td>
                        </tr>
                    </table>
                </td>
                <td>
                    <table Id="TableTwo">
                         <tr>
                            <td>
                               <strong>Select a Font Style:</strong>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

20 Experts available now in Live!

Get 1:1 Help Now