Ian Davey wrote:
from my post in n.p.m.d11n (comment welcome):dwx <[EMAIL PROTECTED]> wrote:I just went across an old thread on bug 72540 in n.p.m.layout. Based on comments I have decided to put it in the wishlist FAQ due to significant interests from the Web author community. I think it will be constructive that some sorts of HTML/CSS workaround tricks can be provided along with a link to a wontfix bug. Does anyone have any idea how?
This should do it: html, body { height: 100%} ian.
4.2 My DHTML is causing Mozilla to turn scrollbars on and off, what do I do?
Some browsers hide the vertical scrollbar by default, thus showing and hiding content dynamically may cause undesireable content reflow and the scrollbar to show. To avoid this, try the following steps:
i. Make sure the content layout is indepedent of the DHTML,
ii. Avoid changing text style dynamically; changing font size or
weight (bold) or changing border may cause unnecessary content
reflow.
iii. Try to make the overall DHTML layout dimensions constant, that is,
make sure when something expands out, something of equivelent
weight collapses back.
iv. Set the entire page to expand to occupy the entire viewport area:
html, body { width: 100%; height: 100% }
and put the content in a fix-sized (or relatively-sized)
scrollable container:
<div style="width:200px;height:100%;overflow:scroll">
content
</div>
v. If all else fails, try to force the scrollbar to appear by
watching the size of the window client area.
