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

Thread: 100%?

  1. #1
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default 100%?

    Hey,

    I am working on a new design for Bobboid.NET

    But a small problem, when I use 100% height on a image it will fill put as much of the page as it can...

    Please look here...

    http://www.bobboid.net/danny/v5/

    At the bottom the red "ribons" want to be hitting the browser... but as screens come in all sizes I cant put put 200px ect...

    Any ideas?

  2. #2
    Join Date
    Jun 2005
    Location
    Manchester
    Posts
    3,187
    Tokens
    0

    Latest Awards:

    Default

    If you want it to touch the browser, align it bottom "/

    - Dan

  3. #3
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    On the css I have put all the borders to 0 px

    The problem is the bottom image, as I cant put the height 100%

  4. #4
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    I'm assumeing you want the image which is currently right at the bottom to tile all the way from the top to the bottom. You could do this by putting every thing inside a table which has a height of 100%, and use the image of the 2 red bars as a background in the table.

    Also if you want to get rid of the margins on your page, just add this small code to your CSS.

    Code:
    body {margin: 0px 0px 0px 0px}
    kinda quit.

  5. #5
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Thanks for your help nets but I have done all of that...

    And it just makes the image its real size...

  6. #6
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    In your css:
    Code:
    .container {background-image: url(example.gif)}
    In your table:
    HTML Code:
    height='100%' class='container'
    kinda quit.

  7. #7
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Code:
    <td colspan='14'><img src='images/bobboid_r10_c1.png' width='583' height='100%' class='container' border='0'></td>
    Do I need to change the td colspan?

  8. #8
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Changed the design.
    Closed

Posting Permissions

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