我将我的MasterPage的ContentPlaceHolder放在一个表中,它显示在表的外面。
有人来帮我吗?
谢谢
<table class="four_tile_table" border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="feature_phone_content" valign="top" width="39%">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</td>
</tr>
</table>发布于 2011-01-12 02:18:50
我相信contentplaceholder假定其内容的大小,所以如果您想调整内容的大小,请用一个特定大小的表包装您内部的内容。
另外,如果您将contentplaceholder包装在<div>中,您是否也会遇到同样的问题?(提示:使用position:relative)
发布于 2011-01-12 02:22:32
您的样式表中有Float: right还是left?
https://stackoverflow.com/questions/4661055
复制相似问题