Solved

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

Posted on 2016-09-08
1
58 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 52

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

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

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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