|
Posted by Els on 07/30/05 13:46
Neredbojias wrote:
> With neither quill nor qualm, Els quothed:
>
>> Neredbojias wrote:
>>
>>> With neither quill nor qualm, boclair quothed:
>>>
>>>> I thought that suggesting a height for a div did not constrain the div
>>>> height which is determined rather by the content. It seemed that the
>>>> height hack was fairly innocuous as hacks go.
>>>
>>> If a height is given, content has nothing to do with it.
>>
>> In current IE versions for Windows the content will still make the div
>> extend to encompass it.
>
> Perhaps under certain circumstances, but I've used overflow:auto on set-
> height divs with some success.
Ah, I thought the /goal/ was to make it encompass the content ;-)
>> For any other browser, the set height will
>> constrain the div, which is why this hack should always be hidden from
>> them.
>
> I haven't examined the "hack" but suspect it works for reasons other
> than what might be construed from the result. Hopefully, IE7 will cure
> a lot of these anomalies without spawning a host of new ones.
After reading most of the replies on this blog entry:
http://blogs.msdn.com/ie/archive/2005/07/27/444004.aspx
I've lost hope of IE7 fixing anything, really...
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
[Back to original message]
|