Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Opera 9.5, according to this Opera Dev article, and also this MDC article has support for the CSS 3 background-size rule through -o-background-size vendor extension. I've been playing around today with the code from the MDC article and have got it to work in Firefox and Chromium, but it doesn't work in Opera 10 Beta 2:

body {
    background-attachment: fixed;
    background-image: url('bg-image-1.jpg');
    background-size: 100% 100%;
    -moz-background-size: 100% 100%;           /* Gecko 1.9.2 (Firefox 3.6) */
    -o-background-size: 100% 100%;             /* Opera 9.5 */
    -webkit-background-size: 100% 100%;        /* Safari 3.0 */
    -khtml-background-size: 100% 100%;         /* Konqueror 3.5.4 */
    -moz-border-image: url('bg-image-1.jpg') 0;/* Gecko 1.9.1 (Firefox 3.5) */
}

In fact, Opera's own example doesn't seem to work in Opera 10 Beta 2, which leads me to believe support has somehow been removed, but there's no mention of it in the beta 1 or beta 2 changelogs.

Can someone who still has Opera 9.5 installed check the the Opera example works (should see green bars at the sides of the page)? And if anyone's seen any documentation for changes in background-size support between 9.5 and 10 beta please post a link.

Here's what it looks like in the Linux build of 10b2:

Screenshot in Opera 10b2 on Ubuntu

share|improve this question
    
The linux beta is probably a different build number where the property was temporarily removed or just buggy. –  DisgruntledGoat Aug 11 '09 at 14:02
    
Didn't work in the beta1 either - I checked before upgrading it. –  robertc Aug 11 '09 at 17:01
    
Linux 10.0 released, -o-background-size still broken :( –  robertc Sep 1 '09 at 23:28
    
Just had another look at this thread - any improvement with Opera 11? –  Ant May 9 '11 at 15:19
    
@Ant background-size is working for me in Opera 11.10, although the Opera example I linked to doesn't work because that only lists -o-background-size –  robertc May 9 '11 at 16:15
add comment

3 Answers 3

up vote 2 down vote accepted

Interesting. Opera 10 beta 2 (on Windows):

Opera 10b2 screenshot

share|improve this answer
    
Hmm. I'm at work at the moment (Windows OS) and it works OK for me too. When I posted the question I was testing on Fedora 10. –  robertc Aug 11 '09 at 11:55
    
That'll be it then - I'll update my answer to include the OS... –  Ant Aug 11 '09 at 16:21
add comment

Opera 9.64:

AW3S0ME ALT T3XT DESCR1PTION

share|improve this answer
    
Thanks. For me the image repeats across the page so there's a green bar in the middle. I've logged a defect with Opera, see what happens. –  robertc Aug 8 '09 at 22:34
add comment

For everyone's future reference, background-size is supported in the Linux build of the Opera 10.50 pre-alpha. Although -o-background-size is no longer supported, so their example still doesn't work, by my ones do ;)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.