March 28, 2006

CSS Background Position Bug

A close examination of different browsers will show that each has a unique pattern to their combined centering displays as the window width is varied.

IE win is the one that has the problem when both the test box and the background image are the same "even" pixel width.

But if both are an "odd" width then it is Firefox that gets it wrong!

Opera only shows errors when the BG and test box are opposite, one being even and the other odd.

There is no combination of odd/even widths on background images and test boxes that will behave identically in all browsers.

Well, check the details here:
IE Background Positioning Bug - An explaination and a fix

No comments: