Re: [WSG] Help with centering - jumps horizontally depending on presence of vertical scrollbar

2005-01-02 Thread Anders Nawroth
I use this code:
html
{
min-height: 100%;
margin-bottom: 1px;
}
It forces the vertical scrollbar on all pages.
/Anders
Mani Sheriar skrev:
Hi All,
Im 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
**


Re: [WSG] Help with centering - jumps horizontally depending on presence of vertical scrollbar

2005-01-02 Thread designer
Hi Mani,

Try using mozscroll in your CSS:

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

then, in your code:

div id=mozscrollnbsp;/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: wsg@webstandardsgroup.org
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
**