Hi,
I have an IE-specific problem where the fix for one bug caused another, and I'm not sure how to fix both.
Look at
There's a div with a rounded rectangle semi-transparent images as its background. This div shows behind the form fields.
In order to get the form fields to be clickable, I had to use z-index (otherwise they were visible, but technically behind the rectangle so you couldn't click in them).
.fields {
z-index: 1;
position: relative;
}
#formbackground {
z-index: 0;
}
However, IE has a known z-index bug. The only way I could get the layering to work properly in ie was to use position:relative for the fields div.
Great, now I can click in the form fields, but...IE has another known bug. It handles position:relative to be relative to the entire page, not to its container div. So if you shrink the window, the rounded rectangle shrinks with it, but the form fields do not.
This page works fine in Firefox and Netscape.
Does anyone know how I can solve both problems: 1. have the fields be clickable and 2. have them collapse properly with the window?
TIA.
I have an IE-specific problem where the fix for one bug caused another, and I'm not sure how to fix both.
Look at
There's a div with a rounded rectangle semi-transparent images as its background. This div shows behind the form fields.
In order to get the form fields to be clickable, I had to use z-index (otherwise they were visible, but technically behind the rectangle so you couldn't click in them).
.fields {
z-index: 1;
position: relative;
}
#formbackground {
z-index: 0;
}
However, IE has a known z-index bug. The only way I could get the layering to work properly in ie was to use position:relative for the fields div.
Great, now I can click in the form fields, but...IE has another known bug. It handles position:relative to be relative to the entire page, not to its container div. So if you shrink the window, the rounded rectangle shrinks with it, but the form fields do not.
This page works fine in Firefox and Netscape.
Does anyone know how I can solve both problems: 1. have the fields be clickable and 2. have them collapse properly with the window?
TIA.