I often add the following CSS for centred layouts, like the Zen fixed layout, when a site has some pages that do not extend beyond the fold. This prevents the horizontal jumping you experience in Firefox and other non-ie browsers.

It would be useful if it was added to layout-fixed.css.

Thanks
Nigel

/** force right scrollbar in non-ie browsers to prevent horizontal jumping */
  html { 
    height: 100%;
    margin-bottom: 1px;
  }

Comments

johnalbin’s picture

Status: Active » Closed (won't fix)

Nice trick!

But I don't think everyone would like this. I try to keep the CSS in Zen to a minimal amount.

If you do a lot of theming, you might want to consider a "personal base theme" that has all the default CSS you like and is based on Zen. Then you can either have all the themes you build based on that personal base theme.

:-)