Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net ContentPlaceHolder在表外_Asp.net_Contentplaceholder - Fatal编程技术网

Asp.net ContentPlaceHolder在表外

Asp.net ContentPlaceHolder在表外,asp.net,contentplaceholder,Asp.net,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:contentplaceho

我将母版页的内容占位符放在一个表中,它显示在表外

有人帮我吗

多谢各位

<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>

我认为
contentplaceholder
假定其内容的大小,因此如果要调整内容的大小,请使用特定大小的表包装内部内容


另外,如果将
内容占位符
包装在
中,您是否也会遇到同样的问题?(提示:使用
position:relative

您的样式表中是否有Float:right或left?

这里还有其他问题。占位符对我来说就像预期的那样工作。它显示在表外!!意思是?我将边框添加到我的表中,我看到ContentPlaceHolder的内容在边框之外。如果我删除了我的页面的任何样式,问题仍然在这里。如何确保它显示在表之外?我看不到表格的标题来区分它,因为它在表格的边框之外(边框=1)好的,对不起,我错了,我指的是另一个ContentPlaceHolder…:羞耻: