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. Advertising

  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. 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,034
    William Brogden
    Aug 5, 2004
  2. =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=

    Stylesheet referanse i stylesheet

    =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=, Jul 3, 2004, in forum: XML
    Replies:
    3
    Views:
    578
    =?ISO-8859-1?Q?J=F8rn_Tommy_Kinder=E5s?=
    Jul 4, 2004
  3. Steven An
    Replies:
    1
    Views:
    504
    Martin Honnen
    Nov 23, 2004
  4. David Blickstein
    Replies:
    3
    Views:
    1,039
    David Blickstein
    Aug 2, 2005
  5. David Blickstein
    Replies:
    14
    Views:
    6,339
    Harrie
    Oct 16, 2005
Loading...

Share This Page