A Somewhat Extensive Guide to BBCodes
Forum Index > PokéFarm > Guides >
QUOTE originally posted by eclipsedmoon
This may ultimately be so silly but I am not very good with code, it's one of those things that kind of makes my brain hurt whenever i try to learn, but i have a question regarding background and font colors :
I am currently using the [background=] to choose the posts background color while i work on my journal and that part is working fine, but i am having trouble getting the font color to change. I am using the [color=] which from my understanding is the one related to things regarding the text. Does the order matter for these to work? This is the order I have the different codes placed, does this need to be adjusted to get the text color to change? :
example (yay i can make these now
[ font ][ size ][ background ][ color ]
example with times new roman, size 16, red background, and white color
code
[font=times new roman][size=16][background=red][color=white]example[/color][/background][/size][/font]
- 🪪
- 📋
- 🔗
sapphire/they/23
Tournament Token (Ruby)
Event Item
(: 0)
[LEGACY] A token earned from Weekly Tournaments Season 10 but it is too old to be valid.
Legacy items are old items that no longer serve a purpose and are only good for collecting.
Sells for 10,000
Likes:
Dry food
MAX
Quiet nature
350 eggs
Score: 2154
credits
credits
- Code @Neonyan
- Pkmnpanel @Mirzam+modified by @Neonyan
- Background+Tab Icons @Pokemon
- Pagedoll @pkspsapphire
- TR code LycanKai+Hakano Riku
Can you post the entire broken code in a hide like that using [ nobbcode ] tags?
My personal preference when you start stacking that many tags, is to just switch to CSS instead. So it would go something like:
Code
[sc=myjournal]This is some text ... [url=https://pokefarm.com/party]Link[/url][/sc]
[style]
// your custom CSS class, to hold the rest
.myjournal {
padding: 10px; // push text away from edge
background-color: #000099; // bg color
color: white; // text color
font-family: serif; // font: use web-safe or import
font-size: 14pt; // pt is better than px usually
a {
color: yellow; // link color;
}
}
[/style]
This is some text ... Link
I find it's more concise, works better, easier to read, handles links better. But I can understand if it's confusing. I can try to talk more about it if you like.QUOTE originally posted by pkspsapphire
i don't know what could be wrong about this since testing it myself it worked out, maybe it's the order in which you placed the closing tags?
example with times new roman, size 16, red background, and white color
code
[font=times new roman][size=16][background=red][color=white]example[/color][/background][/size][/font]
I'm trying to get the table bbcode to be in the center instead of on the right or left is there any way to do that? I have tried using the Alignment bbcode but it didn't change anything.
Avatar made by Aero
I'm a furry
Bi-Paw made by Aero
QUOTE originally posted by Aero
I'm trying to get the table bbcode to be in the center instead of on the right or left is there any way to do that? I have tried using the Alignment bbcode but it didn't change anything.
Header 1 | Header 2 | Header 3 |
---|---|---|
cell 1 | cell 2 | cell 3 |
cell 4 | cell 5 | cell 6 |
Cannot post: Please log in to post