I agree with Callum, the UI issue of an unscrollable scrollbar is a worse issue than the jarring 11 pixel shift. That said, for some (very few) sites I have forced the page to be height 100% plus a few pixels of padding to force the bar to appear for a short page or intentionally offcentered by 1/2 the width of the scrollbar by browser sniffing and adjusting the padding of a div within the centered div - letting it shift left or right to offset the centerline shift. This only works if the short pages are predictable or measureable with javascript. One other 'hack' I have seen - you can style the color of the scrollbar in some browsers to effectively force it on and then 'grey it out' by setting all element colors to match/disappear into your background if it's a consistent color.
I have to say most people don't notice/care. It's the nature of centered sites. ----- Original Message ----- From: George M. A. Cumming Jr. To: [email protected] Sent: Tuesday, June 23, 2009 7:43 PM Subject: [BP #3129] Re: Inexplicable left shift Thanks Callum, It's always the obvious thing right beneath your nose that's the hardest to see. I appreciate the suggestion for body {overflow-y: scroll;}. I'll give it a try. Thanks, George ******************************** George M. A. Cumming Jr. [email protected] OrientSee Blog http://www.georgemacumming.com/ ******************************** ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.339 / Virus Database: 270.12.89/2197 - Release Date: 06/23/09 05:54:00 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Blueprint CSS" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/blueprintcss?hl=en -~----------~----~----~----~------~----~------~--~---
