Results 1 to 2 of 2

Thread: overflow widthout explicitly specifying dimensions

  1. #1
    Join Date
    Aug 2006
    Posts
    239
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default overflow widthout explicitly specifying dimensions

    here's my http://rambo.id.uw.edu.pl/viewer.html again

    I have a "frame" with height of 100%, and want to embed another div or image that exceeds the size of "frame"'s parent- unfortunately, setting overflow
    seems to be working in explicit pixel/point dimensions only. Is there a way to make overflow property working without that?
    Last edited by ItsMeOnly; 08-15-2006 at 04:53 PM.

  2. #2
    Join Date
    Aug 2006
    Posts
    239
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    the solution towards my problem was astonishing in simplicity and elegance:

    #imgFrame {
    height: 0;
    min-height: 100%;
    overflow: auto;
    }

    not only that fills in the height propely, but also seems cross-browser compatible.

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
  •