On 3/30/11 12:57 AM, Markus Ernst wrote:
Am 30.03.2011 09:25 schrieb PL:
Bob,
[...]

html, body { height: 100%; margin: 0 0 1px; padding: 0; }

But I will do a bit of research to discover what this is all
about.

It is not too complicated:
[...]
- The CSS rules you provide give the page a height of 100% of the
viewport, + a margin of 1px, which makes a total height of 1px more
than the viewport height. Like that you force a scrollbar even if
there would be none necessary.

Another possibility that works slightly differently, giving a "ghost"
scroll bar on short pages (like in IE) -

html {
  overflow-y: scroll;
}

--
Cordially,
David
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to