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
  1. #1
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    4,753
    Tokens
    1,860
    Habbo
    ,Alpha,

    Latest Awards:

    Default Coding Expandables

    Hey,

    I am trying to learn how to code expandables but when I draw a box, slice it then open the middle image, when I go to change the height to 1 px, It automaticly changes the width.. How do I change the heigh and keep the width as it is?

  2. #2
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    unclick the 'link'. It constrains the dimensions

  3. #3
    Join Date
    Feb 2008
    Location
    Derby
    Posts
    305
    Tokens
    0

    Default

    add width:100% i think
    Win rares and lots more on this thread http://www.habboxforum.com/showthread.php?t=479892
    www.habbo-hc.com -LOOKING FOR STAFF

  4. #4
    Join Date
    Feb 2008
    Location
    Plymouth
    Posts
    1,073
    Tokens
    0

    Latest Awards:

    Default

    Lmao, make sure you've left a gap for the middle so it's showing a border.
    Then just do this.
    HTML Code:
    #middle {
    background-image: (url of the image);
    width: (width of the middle image)
    background-repeat: repeat-y;
    }
    That repeat will allow it to expand, don't add a height because the height is set in the image, only add a width so its inline with the top and bottom 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
  •