Solved

ContentPlaceHOlder Location

Posted on 2008-10-26
2
336 Views
Last Modified: 2012-08-13
Hello -

I am trying to create a master page for my site.  On my master page, I have a treeview control and a contentplaceholder.  I can not find the property that will allow my contentplaceholder to line up to the right of my treeview.  It is displaying below it.  

Thanks for the direction
0
Comment
Question by:gdspeare
[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 60

Accepted Solution

by:
Kevin Cross earned 250 total points
ID: 22808976
Here is an example of a simple 2 column layout.  
http://www.456bereastreet.com/lab/developing_with_web_standards/csslayout/2-col/

To answer you question, I would use layout div or other elements of that nature or you can use the same CSS code tagged directly to the id / css class of the tree view and content placeholder elements.  The problem there to be careful of is that ASP.NET element ids are changed for some elements when using master pages.

/kev
0
 
LVL 13

Assisted Solution

by:sm394
sm394 earned 250 total points
ID: 22809308
follow mwisa1 post
 in case you need specific ref try that
you can add more settings in div box style i.e Height:Auto; Width:200px  etc
you can also move these styles to css file and use them like class="leftCol"  or id="leftCol"
<div style="float:left;">
            <%--left column for menu--%>
            <div style="float:left;">
                <br />
                <asp:TreeView ID="TreeView1"  runat="server"  />
                </asp:TreeView>
            </div>
            <%-- right box for contents--%>
            <div style="float:left;">
                <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                </asp:ContentPlaceHolder>
            </div>
</div>
0

Featured Post

Technology Partners: 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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
The ability to automatically add page numbers to a layout is one of the many easy, convenient features InDesign has to offer. There are many reasons why you would want to automatically generate page numbers in your next project, so whether it’s a ma…
Learn how to automatically add page numbers in your next InDesign project. This can be very helpful in multi-page books and magazines that you are designing. Make sure your Pages window visible.:  In the document you wish to add page numbers to. Act…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

623 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