Hi Mani,

Try using mozscroll in your CSS:

        #mozscroll { position: absolute; top: 0px; bottom: -1px; visibility:
hidden }

then, in your code:

        <div id="mozscroll">&nbsp;</div>

(I usually put mine at the bottom of the page).

HTH

Bob McClelland,
Cornwall (U.K.)
www.gwelanmor-internet.co.uk

----- Original Message ----- 
From: "Mani Sheriar" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, January 02, 2005 2:48 PM
Subject: [WSG] Help with centering - jumps horizontally depending on
presence of vertical scrollbar


Hi All,

I'm working on a project which can be seen here:
http://www.manisheriar.com/qualitymine

The page is centered using a <div align="center"> wrapping around a
"wrapper" div that holds all the content divs (header, content, sidebar,
and footer).

The problem I'm having is in non IE browsers (I've tested FireFox,
Mozilla, Netscape) the content will jump left a little bit when the
presence of a vertical scroll bar is necessary, and then jump back right
when you return to a short page.

I would love some advice on how to center a page and keep it in the same
spot, regardless of page length.

THANKS!!!

Mani Sheriar
Sheriar Designs | www.ManiSheriar.com
925|914.0741




******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to