Forum Moderators: not2easy
#rightcontent {
position: absolute;
top: 80px;
right: 0px;
width:151px;
background: url("normal-right-bg-short.jpg") top right repeat-y;
font-size: 11px;
text-align: center;
color: #999;
}
Any help?
Cheers
IE is mostly free of rounding errors, except with AP boxes on the right and bottom. Gecko is much worse, and Opera 7 is nearly free of this problem.
and picking your brain already :)
This is not a bug, unless you want to define something that happens in all browsers as a bug.
the rounding error/no bug theory, I understand, but it does seem (in the few tests I did) that IE is the only one that's having problems with this particular combination.
Here's my thinking..
The Absolutely Positioned(AP) element (in the first post) has explicit widths so it shouldn't round therefore I'm presuming in this case that the AP element itself is positioned *inside* a relatively sized container. (presuming because that's the only way I can see the 1px gap described and yes it does move on scrolling..)
So even if it is a rounding "error" on the container element, that shouldn't affect the position of the element *inside* it should it, I mean 0px right should be 0px right no matter what pixel size the container decides to be?
Suzy
Yes, the container is the key to this variant of the rounding error. Messing with the AP element (width, or other values) has no effect. If the container gets an explicit pixel width, or height in the case of a "bottom" positioned AP box, then there is no error.
Mozilla can also show this error under certain conditions, but it can make the error go both inside AND outside, compounding the problem. This, and all rounding errors, have the characteristic of being dynamic when the window width is mouse-dragged wider and narrower. It flickers on and off.
Thanks to this issue, no "rounded corners" scheme uses AP corner images, which is arguably the most logical way to do it. To restate, any width (or non-width) on the container other than pixels is vulnerable.
Opera currently has the best error prevention performance, altho that demo page I mentioned can
still crack Opera like an egg. Normally errors are just "one-level" issues, and Opera does kill those easily.
Happily, floats don't suffer from the error. That would be a little too much to take, IMO.