Solved

How to put two panels side by side separated by spaces

Posted on 2009-07-05
2
578 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

732 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