B
BootNic
Neredbojias said:
I took the liberty of removing your javascript from the page in the
link in order to prevent confusion.
Now, in this first link of mine:
http://www.neredbojias.com/zyxix/bootnic1.html
which is simply a trimmed-down but equivalent version of your page,
the content is no longer horizontally-centered when the scrollbar
appears in ie6. That is the problem, it occurs in your original, and
it's hardly trivial. I use a similar template for images, almost all
the images on my site, and placement is quite important in regard to
aesthetics.
margin-left:15% is not truly the same as margin-left:auto;
In this second link:
http://www.neredbojias.com/zyxix/bootnic2.html
that issue is resolved by the insertion of the 3 lines at top. It's
an elementary "fix" but does involve the use of a quirk's-mode
doctype.
I think margin:auto; will produce the effect you wish, which if I recall
correctly, does not work in quirks mode.
The third link:
http://www.neredbojias.com/zyxix/bootnic3.html
is the same as the second with a "rube-goldberg" javascript patch for
a bug in Opera. Hopefully, someday Opera will fix that.
It took a little while to find this in my notes, but I believe there is a
way to make opera behave without the need for JavaScript.
http://home.earthlink.net/~bootnic/neredbojias0.html
Please share any issues you find.