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!


Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: DIVS

  1. #11
    ScottDiamond. Guest

    Default

    Quote Originally Posted by Nli. View Post
    Isnt that when you open it up in a webeditor and you can move it any where on the page? or am i mixed up with something else..
    Yes it is... and it sucks.

    Quote Originally Posted by Invent View Post
    And, why are you using position absolute. It's the worst thing to code a WHOLE layout in.
    Yes.

  2. #12
    RedCrisps Guest

    Default

    i would use divs buh the thing i dont get is how do you make like the background thingy, like on tables its <td background="url.gif" and i have no idea how it works on divs

  3. #13
    ScottDiamond. Guest

    Default

    Quote Originally Posted by RedCrisps View Post
    i would use divs buh the thing i dont get is how do you make like the background thingy, like on tables its <td background="url.gif" and i have no idea how it works on divs
    You would do it in CSS.

    background-image: url('urltoimage.gif');

  4. #14
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    or if you want the image to repeat:
    background-image: url('urltoimage.gif') repeat; (both ways)

    background-image: url('urltoimage.gif') repeat-x; (horizontal)
    background-image: url('urltoimage.gif') repeat-y; (vertical)

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  5. #15
    Join Date
    Dec 2006
    Posts
    521
    Tokens
    0

    Default

    Whats with the wasting of code "background-image" how cheap can this get:

    Code:
    background: url(path) repeat-x;

    Or you dont even need to put a repeat for it to repeat both ways.

Page 2 of 2 FirstFirst 12

Posting Permissions

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