molendijk
12-10-2009, 01:26 PM
Can anybody tell me why the following is problematic in IE8? The text cannot be selected, although a double click produces an alarm. So the text is not completely inaccessible. The problem is gone as soon as we get rid of the IE=EmulateIE7. Here's the page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<title>Some title</title>
</head>
<body >
<div style="position:relative;top:300px;left:40%"><a ondblclick="alert('aaa')">Select this text</a></div>
</body>
</html>
===
Arie Molendijk.
===
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<title>Some title</title>
</head>
<body >
<div style="position:relative;top:300px;left:40%"><a ondblclick="alert('aaa')">Select this text</a></div>
</body>
</html>
===
Arie Molendijk.
===