newbie: this is a strange phenomenon

J

Jeff

hey

asp.net 2.0

I've created a master page with 2 ContentPlaceHolders (named "sidebar" and
"content"):
<table style="z-index: 100; left: 12px; width: 100%; position: absolute;
top: 113px;">
<tr>
<td rowspan="3" style="width: 158px" valign="top">
<asp:ContentPlaceHolder ID="sidebar" runat="server">
</asp:ContentPlaceHolder>
</td>
<td style="width: 688px" bgcolor="#f7f6f3" valign="top" >
<asp:ContentPlaceHolder ID="content" runat="server">
</asp:ContentPlaceHolder>
</td>
<td style="width: 223px">
</td>
</tr>
</table>


Then I've created a webpage based on this master page....

Now I start to add a label control to the default.aspx webpage (based on the
master mention above). I select the Label control in the toolbox and drag it
over to the content (ContentPlaceHolder). I see that the border arround the
content control flashes a blue color telling that this control will be
dropped on this content place holder... But when I dropp this control on
this contentplaceholder (default.aspx) the control appear on the other
contentPlaceHolder (sidebar)

Any ideas what I'm doing wrong here?

Jeff
 
K

Ken Cox [Microsoft MVP]

Hi Jeff,

Is it because you're using absolute positioning in the master page and not
in the content page?

Ken
Microsoft MVP [ASP.NET]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top