|
Posted by Neredbojias on 07/30/05 13:37
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.
> 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.
--
Neredbojias
Contrary to popular belief, it is believable.
Navigation:
[Reply to this message]
|