Taming Opera's Fullscreen Mode

18th February 2003 · Last updated: 5th October 2016

You may have noticed how Opera 7 can lose the stylesheet when pressing F11 to go into fullscreen mode. 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" />

You can of course use different stylesheets for each mode. For more on this see this Opera forum page.