Results 1 to 4 of 4

Thread: [RESOLVED] [2005] Height inside a contentplaceholder

  1. #1

    Thread Starter
    Fanatic Member space_monkey's Avatar
    Join Date
    Apr 2005
    Location
    神と歩くこと
    Posts
    573

    Resolved [RESOLVED] [2005] Height inside a contentplaceholder

    Hey, I'm working on my first site with a master page, and i'm trying to get a div inside the contenplaceholder to have a height of 100% or from the bottom of the banner to the bottom of the page. Is there a way to make the contentplaceholder stretch the length of the page?
    Using VB6 or VB.net 2008 with .net 3.5
    "Life... death... either way I'll be confined to a small cubicle!" - Hermes Conrad

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: [2005] Height inside a contentplaceholder

    ContentPlaceHolders do not have a height or width. They are not html elements and are simply used for design purposes. Since the default in 2005 is FlowLayout, dimensions are adjusted based content.

    If you really need to see them in a wysiwyg fashion, switching to Grid Layout might help (sorry i don't remember how to do that) or set the dimensions of the placeholder's parent/container element (but I don't think Height affects placeholders).

  3. #3
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: [2005] Height inside a contentplaceholder

    (sorry i don't remember how to do that)
    Tools-> Options-> HTML Designer (in the TreeView) -> CSS Positioning. Now in the right pane, check the first checkbox. Sorry, don't remember the exact statement.
    Show Appreciation. Rate Posts.

  4. #4

    Thread Starter
    Fanatic Member space_monkey's Avatar
    Join Date
    Apr 2005
    Location
    神と歩くこと
    Posts
    573

    Re: [2005] Height inside a contentplaceholder

    Thanks for responding. What i ended up doing was wrapping the the content placeholder in a div and using CSS to make it look like i wanted. Took me awhile to figure out how to get the div to 100% height but with a little help i got there.
    lol i'm really not sure why i didn't think of it yesterday, guess it had been a long day.


    thanks again.
    Using VB6 or VB.net 2008 with .net 3.5
    "Life... death... either way I'll be confined to a small cubicle!" - Hermes Conrad

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