Re: Centering divs in firefox and scrollbar issue



Hi HTML is

<div class="outer">
<div class="centerDiv">
<div class="inner">
Content
</div>
</div>
</div>

In answer to your questions.

1) If I understand you correctly, you would prefer to have the most
right
24 pixels of your page invisible, as in covered by the scrollbar?
I hope that's not what you want.

Not at all. The behaviour of IE is that the scrollbar is always
visible, but isn't in Firefox and that is why the center div sometimes
shifts to the left. I was just wondering if there was a way around
this.

2) Do you have a good reason for a fixed width?
As usual the client wants a fixed width "table style" in the center of
the page.

Thanks.

.



Relevant Pages

  • Re: Centering divs in firefox and scrollbar issue
    ... >> right 24 pixels of your page invisible, ... The behaviour of IE is that the scrollbar is always ... > As usual the client wants a fixed width "table style" in the center of the page. ... Sonhos vem. ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Scrollbars and CListCtrl
    ... really need to suppress appearance of horizontal scroll bar. ... client rectangle and setting column width to client rectangle width. ... GetClientRect seems to return rectangle that includes scrollbar. ...
    (microsoft.public.vc.mfc)
  • Re: ScrollBar
    ... I thought I could get rid of the ScrollBar simply by setting the height ... Try Adjusting the ClientWidth and ClientHeigth of the DBgrid ... Normally the scrollbars are set to automatic if the client ...
    (comp.lang.pascal.delphi.misc)
  • Re: Scrollbar problem
    ... And the child frame is initialized so that the client view has a size ... But in my test, the scrollbar turns out to be still enabled, with the ... Microsoft MVP - Windows SDK ...
    (microsoft.public.win32.programmer.ui)
  • CListCtrl Scroll Issue
    ... width doesn't fit the client area. ... Now I changed the Client Size in OnNcCalcSize function using the ... It's because we reduced the client area a vertical scrollbar width. ...
    (microsoft.public.vc.mfc)