Any master page issues?

Discussion in 'ASP .Net' started by Mark B, Jul 17, 2008.

  1. Mark B

    Mark B Guest

    I have done about 30 pages of a new site. I just experimented with applying
    a global theme that I downloaded from the net. It seemed to work as
    described, applying colors, fonts etc to all pages.

    Now I am thinking to create a Master Page so that I can have:

    - A company logo (top-left)
    - A horizontal navigation bar (top)
    - A standard copyright footer (bottom)

    I have just read through the help file on Master Pages.

    Before I go and:

    - Create a new master page with three 3 sections above
    - Modify the page directive to include: MasterPageFile="~/Master.master"

    Is there anything I may need to be aware of?
     
    Mark B, Jul 17, 2008
    #1
    1. Advertising

  2. Not that it should stop you from using master pages, you just need to
    realize that the whole master page will land into the content page. So if
    you have relative url references in the master page, the starting point for
    them will be the directory with the content page, not with the master page.

    --
    Eliyahu Goldin,
    Software Developer
    Microsoft MVP [ASP.NET]
    http://msmvps.com/blogs/egoldin
    http://usableasp.net


    "Mark B" <> wrote in message
    news:...
    >I have done about 30 pages of a new site. I just experimented with applying
    >a global theme that I downloaded from the net. It seemed to work as
    >described, applying colors, fonts etc to all pages.
    >
    > Now I am thinking to create a Master Page so that I can have:
    >
    > - A company logo (top-left)
    > - A horizontal navigation bar (top)
    > - A standard copyright footer (bottom)
    >
    > I have just read through the help file on Master Pages.
    >
    > Before I go and:
    >
    > - Create a new master page with three 3 sections above
    > - Modify the page directive to include: MasterPageFile="~/Master.master"
    >
    > Is there anything I may need to be aware of?
    >
     
    Eliyahu Goldin, Jul 17, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Doug McCann
    Replies:
    1
    Views:
    1,103
    William Brogden
    Aug 5, 2004
  2. Zeba
    Replies:
    1
    Views:
    530
    Mark Rae
    Feb 22, 2007
  3. SAL
    Replies:
    3
    Views:
    1,555
    Allen Chen [MSFT]
    Jan 28, 2009
  4. Nathan Sokalski
    Replies:
    25
    Views:
    1,478
    Nathan Sokalski
    Mar 4, 2010
  5. SerpentKiss2010
    Replies:
    0
    Views:
    2,532
    SerpentKiss2010
    Apr 6, 2011
Loading...

Share This Page