CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1

Threaded View

  1. #1
    Join Date
    Aug 2000
    Location
    Essex, Uk
    Posts
    1,214

    [RESOLVED] Master page problem

    Hi All,

    I have the following in my master page

    <body>
    <form id="form1" runat="server">
    <asp:Panel ID="Headerpanel" runat="server" BackImageUrl="~/Images/Timeban.jpg" width="50%" HorizontalAlign="Center"></asp:Panel>
    <asp:contentplaceholder id="PageBody" runat="server">
    <h1>Welcome to this page</h1>
    </asp:contentplaceholder>
    </form>

    </body>


    When I run this, the contentplaceholder sits across the middle of my image. how do I place the contentplaceholder at a particular position on the page. I cannot seem to adjust where it resides.

    Basically I'm just trying to get a banner at the top with my placeholder below. I also appear not to be able to resize the placeholder on the masterfile so as to say 'use this area only'.....or have I missed the point?
    Last edited by Bill Crawley; May 6th, 2006 at 10:24 AM. Reason: more clarity
    If you find my answers helpful, dont forget to rate me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured