Page 1 of 1

Size tags at the start of a thread seem to be bugged

Posted: Tue Apr 06, 2021 2:05 am
by lendunistus
I'm trying to make a game thread but when I use size tags at the start of the post for the title, all the text seems to be sized up even though the [/size] tag is at the end of the title, where it should be.

code of the post here:

Code: Select all

[size=150][center][color=#0000FF][u][b]Newbie 2061: Views of Tallinn[/b][/u][/size]

[img]https://i.imgur.com/F8YbKaY.png[/img]

oh hey look a city from estonia. y'know, that one country in the baltic states

Moderated by lendunistus
Backup Moderator: Ircher[/color][/center]

[area=Players]Toriiiiiiiiiiii
Samawoodo
iN3krO
Meuh
marcistar
Pearofclubs
skitter30 (SE)
NorwegianboyEE (SE)
catboi (SE)[/area]

The game has not started yet.


what the thread looks like when created:

Image

All the text is sized up, even when it shouldn't be. Link to the thread if necessary: viewtopic.php?f=11&t=86289

Thanks!

Posted: Tue Apr 06, 2021 2:11 am
by Ircher
BBCode gets weird when you close tags in the wrong order. Try swapping the center and size opening tags and see if that resolves the issue.

(I've also noticed the size tag not seeming to work properly on mobile devices.)

Posted: Tue Apr 06, 2021 2:13 am
by lilith2013
I’m guessing it’s because your tags are overlapping each other. you have a center and a color tag that start after the size but don’t end before the size tag closes. I believe in bbcode, you should try to have any tags that start within other tags also end within those tags so the code can be treated as if it’s hierarchical. I’m not sure that’s a very good explanation but anyway.. Try moving your size tag after the center and color tag.

pedit: what ircher said

Posted: Tue Apr 06, 2021 2:50 am
by lendunistus
swapped around the tags and it seems to work fine, thanks

(bbcode is weird)