• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Please note that this section is for questions regarding the forum itself - it is not for fan game-related questions. If you have a question about a fan game, ask in the appropriate thread.

  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Question: How does one make a box?

Ostrich

Derpatoligist
  • 20
    Posts
    12
    Years
    I never did figure out how to make a colored box for content. These boxes often have scroll bars in them for overflow content. I have already discovered HTML doesn't work, so how are these made? Is there a special code for them?


    Example: This post
     

    Oryx

    CoquettishCat
  • 13,184
    Posts
    13
    Years
    • Age 31
    • Seen Jan 30, 2015
    You want CSS here. try this:

    [cd="width:300px;height:50px;overflow:auto;background-color:#93DB70;"]Text text text[/cd]

    That comes out with:

    Text text text
    text
    text
    text
    text
    text


    Added some text to show the scrollbar. The overflow tag creates the scrollbar, and there are various other tags you can add to that as well to do different things. There's a pseudo-guide in the Webmaster's section here on it.
     

    The Void

    hiiiii
  • 1,416
    Posts
    14
    Years
    Or in case you'd prefer it to have a background instead...

    dragon456
    dragon456
    dragon456
    dragon456
    dragon456
    dragon456
    dragon456
    dragon456
    dragon456
    dragon456
    dragon456
    dragon456
    dragon456
    dragon456


    Code:
    [PLAIN][div="background-image:url("---image url---"); width: 0px; height: 0px; overflow: auto;"]---Signature here---[/div][/PLAIN]
    Hope it helped >.<
     
    Last edited:
    Back
    Top