Previous Message
Next Message

background-repeat:no-repeat support in Opera 9?

Sent by Philippe Wittenbergh on 28 July 2006 03:03


On Jul 28, 2006, at 8:14 AM, charles wrote:

> I'm using a background image for a custom list marker.  It looks just
> fine in a vast majority of browsers, but both Netscape 6 (Win) and  
> Opera
> 9 (Win + Linux) appear to be ignoring background-repeat:no-repeat.
> Instead, they're treating it like background-repeat:repeat-y.
>
> There's an incredibly simple test case here:
>
> http://www.spiritone.com/~charlesd/testcase.html
>
> I can't seem to find this listed as a known bug, nor can I find a
> workaround.  Any suggestions?

No idea about Netscape 6.
Opera 9 doesn't seem to like your image too much. It is not really  
repeating. The problem seems to be in the empty transparent space in  
your image (the arrow is 11px tall, the image 13px tall), Opera 9  
attempts to fill that space by repeating the image. Quite weird.

Here is a test file, nearly the same as yours, but I added lots of  
(top, bottom) padding on every li. If the image was repeating, it  
would fill that padding box.
<http://dev.l-c-n.com/_temp/background-Norepeat.php>
On top, I used your own image.
The second list uses one of my own.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: