07 Jan 2010
10 Feb 2010
Link to this post
I'm trying create a div nested inside of another div. Each div has a contentplaceholder in it, but I can't get the div to display inside of the main div. An example of what I'd like to do would be something easy like a header where there is a header div and inside of it is a logo div that I can position and move around. I'm sure there's a way to do this in Sitefinity since it's standard practice when using divs and css.
sample code is below. When I used this code it simply stacked the divs on top of each other in Sitefinity, but it did not allow me to access the parent div.
<div id="content1"><asp:contentplaceholder id="Content1Background" runat="server" ><div class="content1Txt"><asp:contentplaceholder id="Content1Txt" runat="server" ></asp:contentplaceholder></div></asp:contentplaceholder></div>
I've attached a simple screenshot of what I'm trying to achieve.