master page and stylesheet problems

Discussion in 'ASP .Net' started by Andy B, Sep 9, 2008.

  1. Andy B

    Andy B Guest

    I have a ContentPlaceHolder inside of a div element. The div has a
    stylesheet style attached to it that floats it to the right, has the top set
    at 0px, is 600px wide and is 718px high with overflow set to scroll. When I
    put content inside the content page attached to the master page and run it,
    the actual content starts at the bottom of the div instead of the top
    leaving about 500px of empty space at the top of the div. How do you fix
    this?
     
    Andy B, Sep 9, 2008
    #1
    1. Advertisements

  2. Andy B

    George Guest

    Your problem is not related to MasterPage or ASP.NET
    You got to look at the HTML source that was generated and fix it first...

    It might be anything... misted closing </div> tag for example. Good tool for
    that is FireBug. It's a plug in for Firefox (google it).

    George.


    "Andy B" <> wrote in message
    news:...
    >I have a ContentPlaceHolder inside of a div element. The div has a
    >stylesheet style attached to it that floats it to the right, has the top
    >set at 0px, is 600px wide and is 718px high with overflow set to scroll.
    >When I put content inside the content page attached to the master page and
    >run it, the actual content starts at the bottom of the div instead of the
    >top leaving about 500px of empty space at the top of the div. How do you
    >fix this?
    >
    >
    >
     
    George, Sep 9, 2008
    #2
    1. Advertisements

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. sasquatch
    Replies:
    0
    Views:
    543
    sasquatch
    Nov 20, 2005
  2. sasquatch
    Replies:
    7
    Views:
    14,827
    Juan T. Llibre
    Nov 21, 2005
  3. Doug McCann
    Replies:
    1
    Views:
    1,387
    William Brogden
    Aug 5, 2004
  4. David Blickstein
    Replies:
    14
    Views:
    6,796
    Harrie
    Oct 16, 2005
  5. SR
    Replies:
    2
    Views:
    8,840
    Alan Silver
    Jun 27, 2006
  6. Zeba
    Replies:
    1
    Views:
    734
    Mark Rae
    Feb 22, 2007
  7. Nathan Sokalski
    Replies:
    25
    Views:
    1,834
    Nathan Sokalski
    Mar 4, 2010
  8. SerpentKiss2010
    Replies:
    0
    Views:
    2,741
    SerpentKiss2010
    Apr 6, 2011
Loading...