|
-
Mar 26th, 2002, 09:15 AM
#1
Thread Starter
Frenzied Member
Transparent BG-color in a text field
How do I make my bg-color in a text field transparent?
This is an example of using silver
Code:
<INPUT type="text" id=text1 name=overg size=4 style="background-color:silver">
-
Mar 26th, 2002, 09:29 AM
#2
Frenzied Member
Do you want to make it transparent, or do you want to make it silver? In either case, I think you will find that you can not affect how the UA renders the form elements. Double check with the W3C.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Mar 26th, 2002, 10:18 AM
#3
transparent as in what? you will only get the default browser color. grey or white, unless you change colors. what effect will you get for transparent? if you are trying to get the background of the page to show though the text input you can't.
-
Mar 27th, 2002, 02:02 AM
#4
Thread Starter
Frenzied Member
Hi again, I've found out just using this simple code
Code:
style="background-color:transparent"
-
Mar 27th, 2002, 08:55 AM
#5
ahh you learn something new everyday, thanks for sharing that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|