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 7 of 7

Thread: Custom Buttons

  1. #1
    Join Date
    Apr 2006
    Location
    Salford
    Posts
    2,108
    Tokens
    0

    Latest Awards:

    Default Custom Buttons

    Well on my site i want every button to be a custom one.I want this image on every button but does anyone know how i can do it?


  2. #2
    Join Date
    Oct 2006
    Location
    Merseyside
    Posts
    2,335
    Tokens
    0

    Latest Awards:

    Default

    I didn't understand that one bit :S Soz

  3. #3
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    when ur doing <input> etc. i think you need to use a style.. However i am unsure because i have never needed to do it before.

    I am going to find out for you because it'll be interesting to know.


    HTML Code:
    <input type="image" src="image.gif" width="60" height="60">
    That what u wanting :S

  4. #4
    Join Date
    Jul 2007
    Location
    Scotland
    Posts
    529
    Tokens
    0

  5. #5
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    HTML Code:
    <style type"text/css">
    .button {
    width:100px;
    height:100px;
    border:none;
    backgound:url(http://www.google.co.uk/image.png);
    }
    </style>
    
    <input class="button" value=" " name="submit" type="submit">
    That ok?


  6. #6
    Join Date
    Apr 2006
    Location
    Salford
    Posts
    2,108
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Drompo View Post
    HTML Code:
    <style type"text/css">
    .button {
    width:100px;
    height:100px;
    border:none;
    backgound:url(http://www.google.co.uk/image.png);
    }
    </style>
    
    <input class="button" value=" " name="submit" type="submit">
    That ok?
    Ille try it now.Would i have to enter than on each page btw?

  7. #7
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Quote Originally Posted by Carbon View Post
    Ille try it now.Would i have to enter than on each page btw?
    Yes.

    The style bit in the head section and the input code where you want the button.

    You'd need to modify the CSS (Style) bits to suit your image


Posting Permissions

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