You are here: Re: No events with "background-color:transparent" style « HTML « IT news, forums, messages
Re: No events with "background-color:transparent" style

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация