Solved

ContentPlaceHOlder Location

Posted on 2008-10-26
2
335 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

Have you ever wanted to create graphical elements directly in inDesign? This tutorial will teach you how to have an image bound within text using the pathfinder tool in inDesign CS6. This technique will help decrease the amount of time spent opening…
You can download the files for this tutorial here (https://www.dropbox.com/s/hgztzt9b60kddc9/DPS%20Demo.zip?dl=0). The .indd file in the InDesign files folder is a finished version of the file; you can start from scratch and work toward this. Also, …
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…

751 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