On 7/22/11 4:48 AM, Markus Ernst wrote:
Am 21.07.2011 15:44 schrieb Alan Gresley:
Out of curiously, can you please tell me what the following CSS is for.

/* To prevent jumping */
html {
min-height: 100%;
margin-bottom: 1px;
}

I have seen this before as a recommendation how to force a scrollbar, in
order to prevent centered contents from moving 8 pixels horizontally
when navigating between pages with and without scrollbars.

Yup. This works, too:

html {
overflow-y : scroll;
}
--
Cordially,
David
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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