Home > Net >  Why in master asp the places of the content change
Why in master asp the places of the content change

Time:05-15

Master page:

<div >
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
        </asp:ContentPlaceHolder>
</div>

<footer>
     <div >
       <div >
           <a href="" target="_blank">some site</a></div>
       </div>
</footer>

Why the page show first foter and then contentplaceholder?

CodePudding user response:

Because I used the table I had to add

<FooterTemplate>
    </table>
</FooterTemplate>
  • Related