Opera bug - float in absolutely positioned elements

Bug solved in Opera 7.60 beta.

Floating doesn't work inside absolutely positioned elements.

In the test div below you see some li's and some spans. They are floated left and contained in an absolutely positioned block. In Opera 7.54 the float doesn't work.

Styles:

div.wrapper {
	position: relative;
	height: 100px;
	border: 1px solid #000000;
}

ul.navigation  {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
}

div.nav {
	position: absolute;
	top: 50px;
	left: 0;
}

ul.navigation li, div.wrapper span {
	float: left;
	margin-left: 20px;
}

Solution

Give the absolutely positioned element a width (any value will do). In the second code example below the ul and div have a width: 100%.