Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Transparent text areas

    Is there a way you can make a transparent text area? I know there's ways to change the colors.. so I'm guessing somehow you can make it transparent too. Does anyone know the code to do so?
    wjro

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    background: transparent;

    In theory should make it transparent, and seems to work in a Mozilla 1.2 nightly I am using, but I doubt it would work in IE.

  • #3
    New to the CF scene
    Join Date
    Oct 2002
    Location
    Romania
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <STYLE>
    TEXTAREA {background:transparent}
    </STYLE>

    I have tested this, it puts transparent background for Textarea in IE and NS6+.
    Mihaela.

  • #4
    c q
    c q is offline
    Regular Coder
    Join Date
    Jun 2002
    Location
    Mumbai, India
    Posts
    173
    Thanks
    0
    Thanked 0 Times in 0 Posts
    achha.....then what about the border that appears around textareas ? does it set the border as zero too ? or we need to explicitly set it 0 using style command ?

  • #5
    New to the CF scene
    Join Date
    Oct 2002
    Location
    Romania
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if you need to set the border 0 for textarea, you need to do this using css styles:
    <STYLE>
    TEXTAREA {
    background:transparent;
    border-width:0px;
    }
    </STYLE>

    Also this works only for IE and NS6+.
    Mihaela.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •