Skip navigation.

Opera Playground

you can swim with Opera

max-height is ignored

, , ,

http://userstyles.org/style/show/359

The above link is Firefox user's post, to alter the appearance of their internal source viewer with CSS. My Opera 8.54 and 9 Weekly can't understand pre{max-height:15em}, so large mounts of lines are overlapped. So poor Opera!

Looked after the forum, it seems that some reported this issue to BTS. It might cause some unreadable sites with Opera, because many like to use max-height specification, and this is very shabby bug of Opera.

DrizzleWii! - qt-immodule issue, at last

Comments

Junyor 10. May 2006, 14:54

This is not a bug in Opera. The web site uses the 'overflow-x' CSS property, which is part of CSS 3 and something Opera doesn't support (yet). You'll see the same problem in IE or Safari. If they simply use 'overflow: auto', then it'll work fine in Opera. FWIW, we have no open bug reports about the 'max-height' property.

saito 10. May 2006, 19:32

Thank you very much for your suggestions. You taught me the reason why that page was overlapped with Opera, and the procedures to confirm it, Opera 9 showed me its real power.

What I did is as follows;
Open that page, look for its css, open the css, open the css with source viewer of Opera itself, change 'overflow-x:auto' into 'overflow:auto', click 'Reload from cache', open the original page. Wii! :-) The page is correctly rendered with Opera.
Wow, in Opera 8 days, we had to save whole pages with css, js, images, and open them locally to test. Now I see that source viewer of Opera9 is not just source viewer, but also source editor.

So you gave me two chances to show Opera's real capabilities. Thanks.

Junyor 10. May 2006, 21:29

:wink:

Anonymous 30. May 2006, 19:45

np writes:

Step 1: Notice how my website renders poorly in Opera.
Step 2: Look at the CSS, take a guess at what's screwing it up.
Step 3: Search for "opera overflow-x"
Step 4: Find this page, with people discussing how my website renders poorly in Opera :)

- Jason, webmaster of userstyles.org

Anonymous 5. July 2006, 23:28

Aaron Gustafson writes:

For what it's worth, IE6 and higher support overflow-x and overflow-y, as do Firefox and Camino. And Dave over at Safari just committed the patch to make it work there, so Opera's the only major browser still lagging with support for these properties.

saito 6. July 2006, 10:22

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/overflowx.asp
I can't view the above linked page with Opera 9.01 build 8509 What a crap it is!

As for Safari's compatibility to IE6, stick to standards, not to msdn, period.

Edit; CSS3 is standard. Yes.
http://www.w3.org/TR/css3-box/#the-overflow-x

But CSS 2.1 is also standard.
http://www.w3.org/TR/CSS21/visufx.html#overflow

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

Type the two words displayed in the image below:


Smilies

Download Opera, the fastest and most secure browser