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 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Sep 2006
    Posts
    918
    Tokens
    0

    Default "Quote" like boxes

    Hey,

    I'm looking for the code that will let me put quote like boxes on my website,ie grey boxes which text can be appled on but i'm not sure whether it requires an image

    Many Thanks

  2. #2
    Join Date
    Aug 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,351
    Tokens
    0

    Latest Awards:

    Default

    u mean them annoying website thingys where a window pops up? if so,

    HTML Code:
    <script>
    alert ('hi')
    alert ('this is well annoying innit')
    </script>
    and so on......
    Last edited by beer; 06-01-2007 at 04:07 PM.

  3. #3
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    What? As in like on a forum, abilty to quote text and forumat it? or alertboxs like lolly is displaying?

  4. #4
    Join Date
    Jul 2005
    Location
    North Wales
    Posts
    4,233
    Tokens
    2,009

    Latest Awards:

    Default

    He wants the quote box or he would of said "I want a pop up", and yes you would needs an image.

  5. #5
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Since when did a quote box requre an image? all you needs a plain colour "/

  6. #6
    JoeComins Guest

    Default

    Edit this to be in your CSS file:

    .quotebox{
    width: 100px;
    height: auto;
    background: #CCCCCC;
    padding: 10px;
    outline: #999999 1px dotted;
    }

    And in your page, where you want it, put

    <div class="quotebox">YOUR QUOTED TEXT</div>

    That would make a small grey box, with an outline and pading

  7. #7
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    3,285
    Tokens
    0

    Latest Awards:

    Default

    Put this into your CSS if you want to use an image as the background of your quote (change the "/path/to/image" to the path to the image you want to tile). The border will be 2px thick and black:

    #quote {
    width:500px;
    height:auto;
    background:url(path/to/image);
    outline: #000000 2px;
    }
    or this if you simply want a colour (black in my example, with white 2px border):

    #quote {
    width:500px;
    height:auto;
    background: #000000;
    outline: #FFFFFF 2px;
    }
    And then to insert it into a page add:

    <div id="quote">THE TEXT YOU WANT TO QUOTE</div>

    EDIT
    : Joe beat me to it
    Last edited by timROGERS; 06-01-2007 at 05:40 PM. Reason: Joe beat me to it *cries*



    i used to be NintendoNews. visit my blog or add me on twitter.
    need help with vista? i am a microsoft certified technology specialist in configuring windows vista and connected home integrator.. pm me for help!


    "I am the way, the truth, and the life. No one comes to the Father except through me"
    John 14:6 (NIV)


  8. #8
    JoeComins Guest

    Default

    hehe

  9. #9
    Join Date
    Jul 2005
    Location
    North Wales
    Posts
    4,233
    Tokens
    2,009

    Latest Awards:

    Default

    Quote Originally Posted by 01101101entor View Post
    Since when did a quote box requre an image? all you needs a plain colour "/
    But they look crap like that, there 100% better with images.

  10. #10
    JoeComins Guest

    Default

    But its not essential.

Page 1 of 2 12 LastLast

Posting Permissions

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