User Profile

Collapse

Profile Sidebar

Collapse
ge5talt
ge5talt
Last Activity: Oct 22 '07, 05:10 PM
Joined: Sep 26 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I think I may have answered my own question just now:...
    See more | Go to post

    Leave a comment:


  • As an update, I've gotten a function (adjustHeight) that works pretty well within IE7 and doesn't need to work in IE6 since contents cant spill out of divs under that rendering.

    It's a little simpler. Below is my code. Maybe someone knows why Firefox isn't interpreting it as I expect? I don't think any DOM properties I use are unsupported (I've used them in other ways successfully) so I'm not sure what's up.


    ...
    See more | Go to post

    Leave a comment:


  • I do understand it seems like I am trying to conform to an IE6 behavior but this is really just a way of expressing the behavior I want. It is just a coincidence that IE6 does this natively, it's not that I want my other browser to actually "be like IE6" and sorry for the comparison/confusion it causes. All browser implementations aside I really just want an expandable/liquid layout specifically w/respect to height, but I also don't...
    See more | Go to post

    Leave a comment:


  • Switch if contents of a container overflow out of it

    Hi all,

    I am looking for a switch that will style the height of a parent element to a specific % if the height of the contents is less than the height of the container (it doesnt spill out), or height: auto if the contents does try to spill out, and then maybe somehow back again?

    In pseudocode..


    Code:
    if (contents.height > container.height) {
    currentPercentHeight = container.style.height; /*
    ...
    See more | Go to post

  • Thanks for the prompt reply!

    I did try this CSS, and it seems like without

    Code:
    html {height: 100%;}
    Every other height (div class inner and below) is with respect to auto (since I think HTML is the topmost reference element in the cascade in standards mode)

    So the CSS you wrote makes my page render essentially the same as my code but with the IE7/mozilla "hack" for height auto:...
    See more | Go to post

    Leave a comment:


  • Liquid tableless layout, height difficulties (expand OK, shrink not OK)

    Longtime reader, 1st time poster :)

    I am in the process of overhauling a website and replacing an old table-based quirksmode layout with a standards-mode tableless one. I am currently working on pop-up webpages which used to be liquid and proportionally resizable (including input fields on them), something I have found to be tough to reproduce without tables and quirksmode.

    My current layout (below) actually behaves...
    See more | Go to post
No activity results to display
Show More
Working...