|
Posted by Els on 07/31/05 01:21
Neredbojias wrote:
> With neither quill nor qualm, Els quothed:
>
> This stupid newsreader accidently deleted your last reply as I was going
> to answer it but I remember the gist of it.
>
> You said something like 'I thought the content was the point...'
Almost ;-)
I thought the point was to make the div's height extend to encompass
the content. IE does that, even if you give the div a height of say
1px. That is, if you don't add stuff like overflow properties.
> It is. I just made an IE hack for "position:fixed;" which is why I know
> at least sometimes IE honors the height parameter.
It does honour that parameter, if the content isn't too high, and if
no overflow property is set.
> Perhaps you need to
> include an overflow statement, or width or something else, but I've done
> it both under transitional and strict doctypes with fully-validating
> pages.
I wouldn't expect anything else :-)
> Basically, the trick was to put a div in another overflow-auto
> div. Maybe the inner div expanded with content, but that had no height
> setting. Also, maybe width differs reactively from height (-though I
> don't think so.)
I'm still not sure what the actual objective of your hack was though.
Were you trying to make IE expand a div's height based on the content?
Or were you trying to do the opposite, and make IE honour the set
height and have the content scroll?
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Navigation:
[Reply to this message]
|