|
Posted by Neredbojias on 07/28/06 10:43
To further the education of mankind, bulwark_jrm@hotmail.com vouchsafed:
> I'm trying to duplicate functionality found in a Windows application
> at one of my clients. Essentially, another programmer was able to
> arrange a lot of search options into a single dialog box by
> positioning the descriptive label behind the textbox instead of beside
> it. When the user enters text, the label disappears and the user
> types in their information into the textbox.
>
> I've figured out how to arrange a label behind the textbox (yes, the
> label format has to be altered to differentiate), but events are not
> being captured. I can't type into the textbox, and it doesn't even
> recognize click events. I've narrowed this problem down to the
> "background-color:transparent" since changing 'transparent' to
> 'white' captures the events.
>
> Here's my code.
> ---------------------------
> <label style="position:absolute;left=100;top:100;z-index:1;">Test
> label</label>
> <input type="text"
> style="position:absolute;left:100;top:100;z-index:2;background-color:tr
> ansparent;" />
> --------------------------
It's possible that 'transparent' is becoming invalid per the j/s.
--
Neredbojias
Infinity has its limits.
[Back to original message]
|