Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Possible bug in Opera 9?

6:09 pm on Feb 3, 2007 (gmt 0)

Full Member

5+ Year Member

joined:Jan 29, 2007
votes: 0

I am struggling with a bug in Op9.

While trying to relative position a div under overflow from another div, Opera 9 just won't budge.

here is a sample...

BODY {background-color:#ffffff;}
.cont {width:750px;height:100px;background-color:#00ff00;}
.focus {float:right;width:200px;height:100px;background-color:#999999;position:relative;top:30px;right:30px;z-index:10;}
.ft {height:100px;background:#ff0000;position:relative;top:-20px;}
.foot {width:750px;height:80px;background-color:#0000ff;}

<div class="cont">
<div class="focus"></div>
<div class="ft" align="center">
<div class="foot"></div>

class 'foot' will not move up with 'ft', it runs into 'cont' overflow which is 'focus'

in the above example, adding a fixed width to 'ft' seems to fix it, but width:auto, width:100%, or on my page with the div's full of code it still has no effect

I have tried adding containers with different floats, clears, positions, and some just stupid tricks, but no budge'in that darn thing.

overflow:hidden on 'cont' lets it move up, but that just defeats the whole thing.

The only thing I can think of at this point would be to use javascript to get the page width, but that would just be stupid. slow things down to much to call that contantly when the page is scrolled or changes width. I don't know if it would solve it anyway and don't feel like trying since I would not use it.

no problems in other browsers I have tried...
FF1.5+ on XP
IE6 on XP
OP6+7 on XP
Saf on OS10

is this a bug or am I just so tired right now I can't think straight? any ideas or work arounds?

6:38 pm on Mar 30, 2007 (gmt 0)

Senior Member from US 

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

joined:Aug 26, 2004
votes: 12

Opera 9 and other browsers that pass the Acid2 rendering test still have (X)HTML/CSS rendering bugs and I'm one to know (with all the "free time" I've put in to learning this stuff).

Opera has always had some really flaky bugs such as a top/right/bottom/left positioned element with the top-border bottom-padding bug in Opera 7.23.

I don't have time to test your bug though I'd recommend posting about it in the Opera's official forums perhaps as you may encounter other people who have already (and possible long ago) encountered this potential bug.

- John

[edited by: encyclo at 6:47 pm (utc) on Mar. 30, 2007]
[edit reason] splice [/edit]


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members