Solved

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

Posted on 2016-09-08
1
44 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 50

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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, fr…

813 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

13 Experts available now in Live!

Get 1:1 Help Now