Re: master page issue

Discussion in 'ASP .Net' started by Cowboy \(Gregory A. Beamer\), Dec 12, 2006.

  1. Check your content area, esp. on the pages causing problem. While white
    space should not be an issue, it is a thing to check.

    Can you place content a precise distance from the borders or other elements?
    Certainly. In CSS, you can use relative or absolute positioning. If you want
    to go the CSS route, it is easier if everything is in DIV tags, but a
    mixture of tables and CSS is not a bad thing.

    To do what you desire, have your menu in a DIV and the entire "content" in a
    DIV and set the margin to the side where the menu sits. 200 px seems awfully
    large to me, so you must be aiming for higher resolution. I prefer fluid
    layouts.

    BTW: A great way to set up a site is using the Expression Web Designer
    templates. If nothing else, they are a great learning exercise for CSS.

    --
    Gregory A. Beamer
    MVP; MCP: +I, SE, SD, DBA
    http://gregorybeamer.spaces.live.com

    ********************************************
    Think outside the box!
    ********************************************
    "igotyourdotnet" <> wrote in message
    news:...
    > I'm using a master page on in my web app, When I navigate from page to
    > page
    > within my app, the header of my master page gets bigger like there is a
    > break
    > <br> in the code, but this happens on some pages and not all.
    >
    > I'm using a table in my master page and i checked and double checked the
    > HTML tags for any opening tags without and ending tag and nothing, or a
    > misc
    > break in there <br> and nothing. what could be causing this?
    >
    > also is there a way to set the margin of the content section of the master
    > pages?
    > for example, I want my content page controls about 200 pixels away from my
    > side nav menu.
     
    Cowboy \(Gregory A. Beamer\), Dec 12, 2006
    #1
    1. Advertising

  2. Thanks for Gregory's suggestion.

    Hi Mike,

    For general troubleshooting, you can also compare the html source rendered
    by the two pages(display header correctly and incorrectly) to see whether
    there is any paricular differentce there.

    Sincerely,

    Steven Cheng

    Microsoft MSDN Online Support Lead


    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Steven Cheng[MSFT], Dec 13, 2006
    #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,045
    William Brogden
    Aug 5, 2004
  2. Sam
    Replies:
    0
    Views:
    706
  3. Zeba
    Replies:
    1
    Views:
    501
    Mark Rae
    Feb 22, 2007
  4. Nathan Sokalski
    Replies:
    25
    Views:
    1,445
    Nathan Sokalski
    Mar 4, 2010
  5. Sam
    Replies:
    0
    Views:
    374
Loading...

Share This Page