No events if over 8282px to the right

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

20. May 2010, 19:07:28

Z3T4

Posts: 3

No events if over 8282px to the right

I have a page that is about 10,000px wide (a game map). But everything positioned 8283px or more to the right will not get any events - You can not click on links etc.

Any ideas?

You can try it with the following HTML, or here.

<html>
<head>
	<title>Outside 8282px range</title>
	<style>
		#box {
			position: absolute;
			top: 50px;
			left: 8100px;
			width: 400px;
			height: 100px;
			font-size: 12px;
			font-family: verdana;
		}
	</style>
</head>
<body>

<p>Scroll to the right »</p>

<div id="box">
	<a title="Try to click this" href="http://www.opera.com/">In Opera you can click here --- but not here</a>
	<p>Because the right side is over 8282px</p>
</div>
</body>
</html>

20. May 2010, 19:32:06

Z3T4

Posts: 3

I fixed it by putting the box inside a div with width: 100% height: 100% and overflow: scroll.

Forums » Opera for Windows/Mac/Linux » Opera browser