IE bug with DIV and DXImageTransform

M

Marton Anka

Hello,

I'm experiencing some weird behavior with IE. (Using XPSP2, but it's present
in earlier releases too.)

If I display a DIV that has a DXImageTransform associated with it (shadow,
dropshadow, etc) and have a form element within this DIV that requires
scrolling (text too long) then the keyboard cannot be used to scroll the
text within the input field. Using the mouse works well.

The bug occurs with INPUT, TEXTAREA, etc - anything where the keyboard can
normally be used. Removing the DXImageTransform filter solves the problem.

Does anyone know of a workaround?

Sample code below. Sorry about not indenting properly, but the TEXTAREA
looks bad with a lot of extra whitespace.

Open the HTML in a browser, click in the text and try using the cursor keys
to get around. Then try the mouse.

Getting rid of the three lines starting with "filter:" fixes the problem,
but, of course, it also makes the nice shadows go away.

-Marton

------------------------------------------------------------------
<html>
<head>
<style type="text/css">
..subwindow {
background-color: #ffffff;
color: #000000;
border: 1px solid WindowFrame;
position: absolute;
filter:
progid:DXImageTransform.Microsoft.dropShadow
(color="#777777", offX=4, offY=4, positive=true);
}
</style>
</head>

<body>
<div class="subwindow">
<form>
<table>
<tr>
<td>
<textarea rows=4 cols=12>
Keyboard scrolling in this field does not work.
However, the mouse can be used to navigate.
This is very annoying.
</textarea>
</td>
</tr>
</table>
</form>
</div>

</body>
</html>
------------------------------------------------------------------
 
R

Robert Frost-Bridges

Hello,

I'm experiencing some weird behavior with IE. (Using XPSP2, but it's present
in earlier releases too.)

If I display a DIV that has a DXImageTransform

[snip]

I don't actually have IE available to have a look but it is proprietry
code and I think therefore you takes your chances. I'm sure you could do
without the drop-shadow and still have a perfectly good functioning
textarea anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,609
Members
45,253
Latest member
BlytheFant

Latest Threads

Top