Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 4 of 4

Thread: Lil help please

  1. #1
    Join Date
    Dec 2007
    Posts
    2,807
    Tokens
    0

    Latest Awards:

    Default Lil help please

    I have an input textbox on my site, is there any way to make its background transparent?

    Heres the current code:
    <input type="text" id="srch" style="width:162px; border:0px; height:17px;" value="Enter name">

    Cheers,
    George

  2. #2
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    Maybe try it with CSS

    .input {
    background: transparent
    }

    I KNOW NOTHING OF CSS but there is a way you can do it with CSS :L
    good luck
    Back for a while

  3. #3
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    Here you go This should work!

    HTML Code:
    <style type="text/css">
    .srch {
    background-color: transparent;
    width: 162px;
    border: 0px;
    height: 17px;
    }
    </style>
    HTML Code:
    <input type="text" id="srch" class="srch" value="Enter name">

  4. #4
    Join Date
    May 2006
    Location
    Walsall, UK
    Posts
    128
    Tokens
    0

    Default

    Quote Originally Posted by itsJOHNO View Post
    Here you go This should work!

    HTML Code:
    <style type="text/css">
    .srch {
    background-color: transparent;
    width: 162px;
    border: 0px;
    height: 17px;
    }
    </style>
    HTML Code:
    <input type="text" id="srch" class="srch" value="Enter name">
    Or if you don't want to add multiple sections of code in.. just add :

    style="background:transparent;"

    to your input tag.

    As you've already started a style in your input tag it would be:

    <input type="text" id="srch" style="width:162px; border:0px; height:17px;background:transparent;" value="Enter name">

Posting Permissions

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