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

  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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