Uwe Kaiser schrieb:
On my test-system (MS-Windows 2000) Opera 7 and up (including 8.01)
don't display a background-image, if percent values as 50.5%
(with a digit after the decimal point) are used to position it.

Older versions was rounding down to 50% in such situation and
displayed the image, of course.


I tried to position a small bitmap nearly the right top corner, via this declaration: "background: url(bitmap.gif) 99.5% 1% no-repeat #FFF;" but it results in the absence of background-image in Opera 7 and up.

Question: Should I add some pixel to the top and right of
the image, or is there another solution for this problem?

Hallo Uwe, thanks for the fun :)

WinXPSP2 Opera7.54 + 8 (built7561) XHTML 1.0 Strict: your example does indeed not show a image at all.

but
background: url(bitmap.gif) 0.5% 1% no-repeat #FFF;
centers the image

and
background: url(bitmap.gif) 0.99% 1% no-repeat #FFF;
gets 99%

and
background: url(bitmap.gif) 0.995% 1% no-repeat #FFF;
gets 99.5% :)

so
background: url(bitmap.gif) 99.5% 1% no-repeat #FFF;
is probably really far off.


Ah ... Ok. We should take it with composure. Most people had a painful time at school with percentages.

Ingo












______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to