Absolute Horizontal and Vertical Centering via CSS : Perishable Press

Absolute Horizontal and Vertical Centering via CSS

By Jeff Starr on September 25, 2007 • 29 Comments »

Recently, a reader named Max encountered some scrolling issues while implementing our absolutely centered layout technique. Of course, by “absolutely centered” we are referring to content that remains positioned dead-center regardless of how the browser is resized. After noticing the scrollbar deficiency, Max kindly dropped a comment to explain the issue:

…the div solution works well, only one problem maybe somebody can help: if you make the browser window smaller then the div is -> the scrollbar doenst fit right und you cant scroll over the whole area…

via Absolute Horizontal and Vertical Centering via CSS : Perishable Press.