Login Main site Create account

17.01.2006 14:11

Who said Internet Explorer is cool?


Today I tried to do a simple thing like building a web form with transparent input elements. Internet Explorer of course again made troubles and rendered all input elements transparent. Did I say all? I meant all but _ONE_. Combo Boxes are not being rendered correctly.

Please correct me if I'm wrong, but what's wrong with this code?

<form>
<input type="text" value="foo" style="color: white; background-color: transparent;"/>
<input type="button" value="bar" style="color: white; background-color: transparent;"/>
<select style="color: white; background-color: transparent;">
<option value="0">foobar rabfoo</option>
</select>
</form>
And here's how it looks like, for Firefox users everything should be transparent (if not, it's your fault).





Life could be so easy if someone finally would make this damn stupid browser go away. _FOREVER_.
Comments added earlier to http://tuxx-home.at/archives/2006/01/17/T14_11_52/index.html:
idontwanttologintopostcomments on 2006-01-21 13:16:43 wrote:
Hm, Opera does this too, so maybe there's a reason.
Markus Griesser on 2006-01-26 08:36:45 wrote:
Nur weils der Opera auch so macht, heißt das noch lange
nichts. Die Opera-Benutzer, tztz. Glauben immer ihr Browser
ist das goldene Kalb...
Alexander Griesser on 2006-01-26 09:49:07 wrote:
--------- german ------------
Jo, coole Aussage. Wird schon an Grund haben...
Also _ICH_ sehe keinen Grund darin, vorallem weil alle
anderen INPUT-Fields richtig dargestellt werden...

--------- english ------------
Yes, cool statement. Maybe there's a reason...
I don't see any reason for this, because all other
input-fields are displayed correctly.
Guest on 2007-11-23 09:55:05 wrote:
With Konqueror, nothing is transparent.
Alexander Griesser on 2007-11-23 10:10:35 wrote:
Yes, I saw that. But the question is: why? It's ok if browsers choose to use their
own form elements to make it look like all other applications in the current
Desktop environment, but they break stuff with that behaviour.

Of course, having transparent input fields isn't really something someone
absolutely needs but at the time I wrote this article I was building a website
with the need of transparent inputs.

Your comment (HTML tags will be stripped !!):

To verify You are not a bot, type down text from this image.

Your try: