"aiden_m" webforumsuser (AT) macromedia (DOT) com wrote:
Quote:
Thanks for the suggestion, but as I was afraid, that didn't work.
The only real solution for this problem is to use a method for centering that isn't dependant on scrollbar presence -- i.e., using jscript to attain window dimensions and manually spacing both tables by a specific number of pixels, updatable on.resize, etc. That way, I know both tables in both frames are spaced from the left the same amount regardless of what screwy method the browser has for drawing the CSS.
Even if it's not dead center, as long as they're both the same distance from the left-side wall and they're -basically- centered (at least visually to the average site visitor) I'm fine.
There must be a solution for this. The design really isn't that complicated! 
-- Aiden |
Taking away the "noresize" attribute has nothing to do with this, as you
already found out. The "noresize" option is there for preventing users
to grab a frame border in their browsers and move them.
This scrollbar phenomenon is really nothing you can do anything about,
more than finding a workaround. The situations you'll see this happen is
when you're in some way making the width depending (or in relation) to
the right window border, i.e. by centering or right aligning the content.
IE and Mozilla/NN have different approach in this respect. I'm not sure,
but I think IE *adds* real estate for the scroller and is using the
system scroll function, whereas Moz/NN *includes* the scroller's width
in the real estate. AFAIK, it's also have it's own scroll function. NB:
Don't take this for gospel...I can't remember exactly.
Anyway, to make content in different frames (which you shouldn't use,
btw) align even if a scroll is required, you need to align them left.
You can use e.g. the "Letterbox frameset" from
www.projectseven.com
(site presently down, though) or from the DW Exchange at
www.macromedia.com and work from that by setting up a frameset
construction that allows you to left align all content, but still
appears to be centered (hope that made sense).
But, as I said, you should use flat pages, not frameset, if possible. By
doing that, you wouldn't have a problem like this behind you.
If this doesn't help or point in right direction, post back and we'll
dig in deeper.
Cheers,
--
Dan Vendel - *GOF*
http://www.vendel.info
Contact me directly by clicking here:
http://contact.vendel.info
Formmail tutorial:
http://www.vendel.info/tut/formmail.html
Nested table demonstration:
http://www.vendel.info/tabletut/