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

Thread: Expandables :S

  1. #1
    Join Date
    Apr 2007
    Posts
    2,431
    Tokens
    0

    Latest Awards:

    Default Expandables :S

    Okay, i do not get how to do expandable divs.


    I understand --ss-- 's tutorial, although I do not understand how to code something like habbox's, with multiple boxes. Then when 1 box expands , the main one does.


    +rep for any help

    [X] [X] [X]

  2. #2
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Just do lots of boxes inside of each other. If you want 2 to be next to each other, make a container arround them (<div style="width: WIDTH HERE!!;">Other Divs Here</div>)
    Then add float: left; to the div tags you want to be next to each other. Then to start a new row, add clear: both; to the div tags.
    Lets set the stage on fire, and hollywood will be jealous.

  3. #3
    Join Date
    Apr 2007
    Posts
    2,431
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Tom743 View Post
    Just do lots of boxes inside of each other. If you want 2 to be next to each other, make a container arround them (<div style="width: WIDTH HERE!!;">Other Divs Here</div>)
    Then add float: left; to the div tags you want to be next to each other. Then to start a new row, add clear: both; to the div tags.
    Cheers!!!

    +repp

    [Need to spread]

    [X] [X] [X]

  4. #4
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    I'd do it with containers and stuff.

    One main container, then if I want a banner area then three expandable columns below I'd do a container, then div, then a break, then div div div and using CSS to make their widths Not even sure if you need float's
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  5. #5
    Join Date
    Apr 2007
    Posts
    2,431
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by iUnknown View Post
    I'd do it with containers and stuff.

    One main container, then if I want a banner area then three expandable columns below I'd do a container, then div, then a break, then div div div and using CSS to make their widths Not even sure if you need float's
    TY +rep

    But how would I slice it?

    [X] [X] [X]

  6. #6
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    Any image editing software that allows you to slice... photoshop... fireworks.. you could even just do it in paint.

    Edit: Oh and export the slices as you go, you won't need to have slices covering the whole image.
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


Posting Permissions

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