snakehips2000
Programmer
I've got a text highlighting ptoblem (see simple example below).
When viewing the page and I try to drag my mouse (right to left or vice-versa) over some static text within a DIV tag, the text highlights either from the start of the paragraph to the mouse-point or from the mouse-point to the paragraph end.
This doesn't happen when the text is simply placed inthe body of the document, i.e. outside the DIV tag. In this instance I can highlight my chosen characters/words as I drag. Why is this happening?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<div id="Layer4" style="position:absolute; width:330px; height:101px; z-index:2; left: 60px; top: 53px;">
The quick brown fox jumped over the lazy dog.
</div>
</body>
</html>
When viewing the page and I try to drag my mouse (right to left or vice-versa) over some static text within a DIV tag, the text highlights either from the start of the paragraph to the mouse-point or from the mouse-point to the paragraph end.
This doesn't happen when the text is simply placed inthe body of the document, i.e. outside the DIV tag. In this instance I can highlight my chosen characters/words as I drag. Why is this happening?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<div id="Layer4" style="position:absolute; width:330px; height:101px; z-index:2; left: 60px; top: 53px;">
The quick brown fox jumped over the lazy dog.
</div>
</body>
</html>