On Sat, Jan 2, 2010 at 12:55 PM, Ingo Chao <[email protected]> wrote:
> Getting out of practice.
> Does Opera/Mac up to 10.10 has a bug with percentage min-height?
> (not in 10.5 pre-alpha anymore)
>
> http://satzansatz.de/op/minheight.html
>
> And display:inline-block (or float) seems to fix it for a moment, just
> to break again with a width?
>
> <!DOCTYPE html>
> <html>
> <head>
> <title>min-height</title>
> <style type="text/css">
> html, body {
> margin: 0;
> padding: 0;
> height: 100%;
> }
> div {
> background: red;
> min-height: 100%;
> /* display: inline-block; */
> /* width: 100%; */
> }
> </style>
>
> </head>
> <body>
> <div>This red area should fill the screen</div>
> </body>
> </html>
I see the same problem in Opera 10.10 XP.
The really strange thing is that I have some pages with a similar
construct which do not show the problem. I tried to track down what
triggers the difference and it seems to be (but I'm not sure)
html {
overflow-y: scroll;
}
that I have in my pages. This seems to fix the problem. Really strange...
Best regards,
Bruno
--
Bruno Fassino http://www.brunildo.org/test
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/