Welcome to WebmasterWorld Guest from 54.211.136.250

Forum Moderators: open

Message Too Old, No Replies

Opera 6.05 and F11 - full screen view

It drops styles?

   
11:18 pm on May 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you ever noticed that when you hit F11 for full view mode, all of your styles are lost. Do you know the fix and why this happens?

Thanks!

11:06 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Here's some information from the Opera Forums [my.opera.com]

Q.When I used Opera's 'fullscreen' mode (F11), all styles seem to be stripped or disregarded. Is this a mis-implementation?

A. In full screen mode Opera uses stylesheets that refer to media "projection"

And an Opera 7 reference [designdetector.com] I found:

On some pages, pressing F11 to move to full-screen mode loses styles, including the background! This is because Opera treats fullscreen mode as having a media type "projection" not "screen". To solve the problem, make your code similar to this:
<link rel="stylesheet" href="styles.css" type="text/css" media="screen, projection" />
6:00 am on May 31, 2003 (gmt 0)

10+ Year Member



To solve the problem, make your code similar to this:

Hmph! Rhetorically asking, why if Opera doesn't render the page properly is it MY problem?

Evidence, in my eyes, that ALL browsers are nothing but a necessary evil...

balam

6:42 am on May 31, 2003 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Well, full screen mode IS often used for projection - and this really is an intentional feature, not an accident. We can disagree with Opera's decision, but there is a logic to it.

The one thing I can't pin down is what kinds of pages work this way in Opera, and what kind don't.

6:55 am on May 31, 2003 (gmt 0)

10+ Year Member



It only happens on pages where a media="screen" statement is used in the CSS. When you hit F11, everything in the media="screen" block is ignored by Opera. (It's looking for a media="projection" block.)

If you don't state your media type in the CSS, then Opera assumes all the attributes apply to all media, so you don't see a change when you hit F11.

I think only very few people specify media types in their CSS, so most pages don't lose formatting when you hit F11. It's ironic that the most conscientious CSS authors are the ones most likely to run into a problem here.

11:11 pm on May 31, 2003 (gmt 0)

10+ Year Member



Well, full screen mode IS often used for projection

I completely disagree with that, but agree to 'projection IS often used in full-screen mode...'

We can disagree with Opera's decision, but there is a logic to it.

There's logic behind everything - but sometimes that logic could be faulty. It seems the logic here is that Opera figures if I want to run in full-screen mode, then I must be surfing the web via a projection on my living room wall.

While I don't doubt some of us are surfing via our walls and checking out www.rotten.com in life-sized g(l)ory, are there really enough of us doing this that Opera's default behaviour is justified?

Ok, granted it...

only happens on pages where a media="screen" statement is used

...but it's because...

the most conscientious CSS authors are the ones most likely to run into a problem here

...that I get peeved.

Opera's logical leap that if I want to reclaim that extra inch of screen real estate must mean that I'm actually using a projector or printing to transparencies is a bit much for me, especially if there's an insinuation that there's a 'problem' and it's mine to 'fix.' Hey, things worked perfectly fine before Opera showed up, and if there's a problem, it's Opera's to fix.

It just seems that the cart is leading the horse... Ok, not such a bad thing, since this has brought us such wonders as the <blink> and <marquee> tags. But, it would be nice if for once browsers made accommodations for us, as opposed to us having to make accommodations for every damned point release for all those evil browsers...

Wouldn't better logic be if there's a 'media="projection"' statement then go ahead and use those styles, but otherwise stick to the styles you have instead throwing it all away?

Anyway, rhetorical questions & venting...

balam

7:08 am on Jun 2, 2003 (gmt 0)

10+ Year Member



Wouldn't better logic be if there's a 'media="projection"' statement then go ahead and use those styles, but otherwise stick to the styles you have instead throwing it all away?

The best logic would probably be if the user were allowed to choose, although I agree the default media should be screen, not projection. Ah well, can't have everything.

2:13 am on Jun 3, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Wouldn't better logic be if there's a 'media="projection"' statement then go ahead and use those styles, but otherwise stick to the styles you have instead throwing it all away?

If you're using media="all" (or simply omit the media declaration) that is true. Specifying media="projection" can be used to override the other styles.

The thing is... why would you want to specify only media="screen"? The logic tells us that you would most likely want to use media="screen,projection"...

We might disagree with Opera's decision, but at least they are consistent and render things properly.

1:06 am on Jun 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Whoof...Reminder to first go to the source w/ problems. I actually thought I was just putting a tag or something where it didn't belong ;)

Thanks ~

 

Featured Threads

Hot Threads This Week

Hot Threads This Month