On Oct 24, 2011, at 4:38 PM, John wrote: > On Oct 24, 2011, at 3:52 PM, David Laakso wrote: >> See short page shift--- >> <http://www.communitymx.com/content/article.cfm?cid=528a0> >> One fix is to force a scrollbar >> html { min-height: 100%; margin-bottom: 1px; } >> ~d > > OK..for my page, inserting margin-bottom: 1px resulted in about a 10-pixel > gap between the top of my container and the top of the browser window, so I > ammended the code to: margin: 0 0 1px 0; which appeared to fix that > problem. Was this the right way to deal with that gap cause by using just > margin-bottom: 1px; ? John
With the new code bit in place, it doesn't seem to be forcing a scrollbar in the page that doesn't need it (so that page shift doesn't happen). I can easily open the browser so that the first page has no scrollbar, the second does. thanks! J ______________________________________________________________________ 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/