SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Threaded View

  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2012
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help coding a scrolling div with variable height

    I'm trying to create a scrolling div with the position:absolute property, and I'm having a problem getting the HTML to work right.

    The files in the attached archive illustrate what I've got so far. You can see the result at http://jhsachs.com/f/FixedParts.html.

    The div scrolls as it should, but its size is fixed. The width is supposed to be fixed, but I want the height to resize with the window. Can anyone show me how to do that without breaking the scrolling?
    Attached Files Attached Files


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •