Solved

How to put two panels side by side separated by spaces

Posted on 2009-07-05
2
547 Views
Last Modified: 2012-05-07
Hi expert,

In my web page, I'd like to put two panels which contain different controls side by side.
I tried to separate them with spaces and move the right panel to the same level as the left
panel but I could not.

Could you give me a clue?
Thanks,
JT
0
Comment
Question by:jtran007
2 Comments
 
LVL 10

Accepted Solution

by:
Espavo earned 250 total points
ID: 24779883
You'll need to use either a <table> or <div>'s to do this...
(I've done it with a table below)...
Espavo
 

       <table cellpadding="0" class="style1">

            <tr>

                <td>

                    <asp:Panel ID="Panel1" runat="server">

                    </asp:Panel>

                </td>

                <td>

                    &nbsp;</td>

                <td>

                    <asp:Panel ID="Panel2" runat="server">

                    </asp:Panel>

                </td>

            </tr>

        </table>

Open in new window

0
 

Author Closing Comment

by:jtran007
ID: 31599908
Thanks expert,
JT
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 .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 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

14 Experts available now in Live!

Get 1:1 Help Now