stretching the division

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shane3341436
    New Member
    • Mar 2007
    • 63

    stretching the division

    Hello
    Is it possible to stretch a div to fit in different pages?
    More specifically, I have different pages with different heights and I have included the same page in the left column of those pages.So, for shorter-height page the div fits onto the page but for longer-height page, there is a larger space between the left column and the footer which spoils the design of that page. Is it possible to overcome this problem?
    Thank You.
  • shane3341436
    New Member
    • Mar 2007
    • 63

    #2
    Do anybody have some idea on this topic. I just want to know is it possible or not?

    Comment

    • shane3341436
      New Member
      • Mar 2007
      • 63

      #3
      Does this question need markup? Why do not anybody reply to this thread? The question is, is it possible to stretch a div to the current page height?

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Not ignoring you. Just going through some rough/busy times right now.

        Yes, you can stretch a div. Set the div to "height:100 %". But the parent must also be 100%. If the parent is <body> then it must be set to 'height:100%', too.

        Just a quick answer so I hope I'm not forgetting something.

        Comment

        • shane3341436
          New Member
          • Mar 2007
          • 63

          #5
          Originally posted by drhowarddrfine
          Not ignoring you. Just going through some rough/busy times right now.

          Yes, you can stretch a div. Set the div to "height:100 %". But the parent must also be 100%. If the parent is <body> then it must be set to 'height:100%', too.

          Just a quick answer so I hope I'm not forgetting something.
          Thank you for ur reply. I will check that

          Comment

          Working...