Re: Centering divs in firefox and scrollbar issue



Spondishy wrote:

>> 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.

Not that I know of, unless you'd just add enough height to the html or
body element to warrant a scrollbar at all times, but that will have
people scrolling down to see what's there.
<joke>You could then add a tiny pixel sentence right at the bottom,
explaining about the reason for the scrollbar.</>

>> 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.

Well, once you've tried your best to convince the client of the
obvious drawbacks for their visitors and the possible smaller income
due to inaccessibility on their website, there's not much you can do
about that ;-P

> Thanks.

You're welcome :-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Electric Boys - The change
.



Relevant Pages

  • Re: Smooth scrolling
    ... number of pixels at a time in an HTML-style manner. ... I have even considered splitting the images up into segments and putting one ... When Tcl encounters the code in square brackets, ... > tries to interpret each time you move the scrollbar. ...
    (comp.lang.tcl)
  • Re: Centering divs in firefox and scrollbar issue
    ... 24 pixels of your page invisible, as in covered by the scrollbar? ... The behaviour of IE is that the scrollbar is always ... As usual the client wants a fixed width "table style" in the center of ... Prev by Date: ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: Scrollbar problem
    ... two scrollbar controls (an HScroll and a VScroll) for the view, ... I think I did set this value to be the width, in pixels ... of my client-area ...
    (microsoft.public.win32.programmer.ui)
  • Re: Inserting or Removing a Listview Column during runtime
    ... I see all the data in my final data column. ... better than if it was 20 pixels wider and went underneath the scrollbar. ... > wide the 20 covered pixels come from another column, ...
    (microsoft.public.vb.general.discussion)
  • 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)