Forum Moderators: open

Message Too Old, No Replies

Safari browser bug

width of window

         

geoapa

9:37 pm on Jul 7, 2004 (gmt 0)

10+ Year Member



I have a 780x400 table centered on the page with a 1px border.

I'm new to the Safari browser, but apperently the vertical scroll bar only appears when the content of the page doesn't fit any more vertically.

For example
If I start with a browser window of 500px in height. My table will be centered inside the window. If I decrease the height of the window to say 300px my table will shift over to the left about 15px. I guess this is because Safari doesn't take the width of the scroll bar into consideration when centering anything on the page.

Is there a work around for this? I want my table to display in the same general area (in the center) with or with out the existence of a vertical scroll bar. Then if the window is resized, my table will stay put.

pleeker

9:54 pm on Jul 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've seen that same thing happen in many browsers going way back ... I don't believe it's just a Safari issue. Unfortunately, I also don't know of any workaround for it ... it never concerned me enough to look for one.

If you want to be really cheesy, couldn't you just do a <br> after your table and add a spacer.gif that adds a couple hundred pixels to the height of your page?

tedster

10:14 pm on Jul 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We've discussed this here over the years, in reference to several browsers that "vanish" the scrollbar. No one has ever found a fix.