• 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.

  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Dawn, Serena, Hilda, Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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
    13
    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
     
    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.
     
    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 by a moderator:
    Back
    Top