Posted by Spoiler Text breaks?

velli (#212942)

Blessed
View Forum Posts


Posted on
2024-08-31 16:18:16
Hey! I'm trying to set up an auction board, and I'm using HTML from (25961), however I'm editing for my personal use. They have pre-made boxes on this, and I'm listing off a lot of things in one box, and it gets..lengthy. So I try to spoiler text it, and it just...breaks. Like so:




Weirdly, i tried to do the code here, and it was working, but then I started typing underneath the box and that actually was included in my spoiler tag despite it being outside the tag...but then i added an image and broke so I had to remove the box. It doesn't work at all when I do it in the post (haven't posted yet), even when I remove any text afterwards.

my code:


i hope this is legible i swear ive been fiddling with it for like an hour lol i havent coded anything in so long i hope its not some super obvious thing ;-;



Hrt Icon 0 players like this post! Like?

⁑ SiRah
[Semi-Frozen.] (#159527)

Divine
View Forum Posts


Posted on
2024-08-31 16:30:39
Alright so you're trying to spoiler your Rules, and when you un-toggle the spoiler the text is appearing outside your box, right?
It's possible that the Lioden forums' spoilers are rather bulky and don't nest well within html so the formatting won't allow you to nicely constrain them but I don't commonly use it so am not sure, hopefully someone else can give better insights.

Whenever I use spoiler tags, it breaks whatever html I was using, so I always have to (for example) re-center everything after it and re-formatt anything within the spoiler if I want a consistent look. I end up with something like

<*p style="text-align:center;"> text text
[*spoiler]<*p style="text-align:center;"> still centered spoiler spoiler [*/spoiler]
<*p style="text-align:center;"> after spoiler text text.


Maybe it's something similar?
So, re-copy all your html after the end spoiler tag?








Hrt Icon 0 players like this post! Like?

⁑ SiRah
[Semi-Frozen.] (#159527)

Divine
View Forum Posts


Posted on
2024-08-31 16:36:54
Re-typed this just to see if it's working (as you typed it) :

Result: Seems to work okay in a post response as is, I seem to have typed the color wrong or something but eh- do you have anything else in your post that may be interfering with it?
(Editing from my main: I just saw this thread from day mode & realized you're probably using a css in addition to the html, or changing the color background- it may be something there messing with things too? xD)


Rules:
















Used this (without the *'s):

<*font size=5><*span style="background:rgba(255,255,255, 0.8);border:1px dashed #95e2cd;float:left;width:40%;height:auto;padding:20px;margin: 5px 1px 10px 30px;">Rules:
<*font size=2>
[*spoiler]
-MI is 50sb
-No AB mainly because I can't price lions
-Auctions will end 5 days after the first bid is placed, per lion.
-You will have 2 days to buy out your trade, then I will give to the next highest bidder.
-Bidding items or currency you dont have will have you blacklisted.
-All bids are final.
[*/spoiler]

<*/span>




Edit: May be heading off for a bit, hope you manage to find the solution!
Have a wonderful weekend :D <3



Hrt Icon 0 players like this post! Like?


Edited on 31/08/24 @ 16:53:32 by ⪘ SiRah (#159527)

velli (#212942)

Blessed
View Forum Posts


Posted on
2024-09-02 08:02:32
Thank you so much! I'll try to see if I can use what you've written but between general laziness and just completely out of practice with coding I am at my wit's end lol. I do know that in the past the spoilers were broken but I swear I've seen people do it...at this point though if this doesn't work I'm just gonna not bother haha. have a nice week yourself ^^ Edit: re-read your post (and yeah i have a dark reader extension which I'm realizing messes up certain things-such as lioness claiming in explore) so it is very possible its messing with this LOL



Hrt Icon 1 player likes this post! Like?


Edited on 02/09/24 @ 08:33:21 by velli - ♠️🤍🩶💜 (#212942)

⁑ SiRah
[Semi-Frozen.] (#159527)

Divine
View Forum Posts


Posted on
2024-09-02 08:04:45
Sounds good, wish I had a simple fix for you (as far as I can tell I just transcribed what you'd written D: ) but those pesky interactions can make formatting difficult!
Thank you as well! <3



Hrt Icon 0 players like this post! Like?


Edited on 02/09/24 @ 08:05:12 by ⪘ SiRah (#159527)







Memory Used: 624.31 KB - Queries: 2 - Query Time: 0.00081 - Total Time: 0.00448s