Solved

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

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

734 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