Solved

ContentPlaceHOlder Location

Posted on 2008-10-26
2
330 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
2 Comments
 
LVL 59

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

747 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

8 Experts available now in Live!

Get 1:1 Help Now