[SOLVED] jiggering difference between IE & Firefox due to width of vertical scrollbar

robert070612

Joined: 2003-08-05
Posts: 565
Posted: Fri, 2006-08-25 14:20

My theme (heavily customised Siriux) is of a fixed width and is centred.
Firefox 'jiggers' when changing pages with/without the vertical scrollbar.
IE seems to be able to 'ignore' the presence of a vertical scrollbar and
so the centre functionality is not amended by the width of the vertical
scrollbar - present or not. Is it due to one of the core utilities...
am unable to stop Firefox 'jiggering' and it's a little distracting;~/
[postedit: URL removal]
----best wishes, Robert

 
arbot

Joined: 2006-08-25
Posts: 1
Posted: Fri, 2006-08-25 20:05

IE's not so much ignoring as permanently accommodating... it always displays a vertical scrollbar whether needed or not (interestingly note this is not standard behavior for windows apps). To force the scrollbar to always be present in FF try fitting this kind of thing in somewhere:

HTML {
height: 100%;
}
BODY {
min-height: 101%;
}

 
robert070612

Joined: 2003-08-05
Posts: 565
Posted: Sat, 2006-08-26 07:49

arbot----
What a neat solution, my thanks;~)
Seems a shame that I have to deface FF to match IE as I
like the simplicity & clean looks of a page without scrolls.
Whilst I have adopted this hack (I put it in theme.css) it
would be good if a more codified workaround could be found
rather than a defacing hack. I think that there might be
appropriate areas in /modules/core/classes/ for instance.
----best wishes, Robert