Posted by Toggle Spoiler Breaks HTML

happy (#169544)


View Forum Posts


Posted on
2023-01-15 20:11:38
I am trying to set up an art shop using a premade HTML, but when I go to create a simple spoiler section, the table breaks. I don't know how to fix it. I kind of need the spoiler button as I still need to add examples.

Code pre-editing: https://pastebin.com/ZgxuXnL2

The problematic code:


Result:



Hrt Icon 0 players like this post! Like?

Sketch (Side) (#243813)


View Forum Posts


Posted on
2023-01-16 07:31:02
Could you perhaps link me to your current art thread?



Hrt Icon 0 players like this post! Like?

happy (#169544)


View Forum Posts


Posted on
2023-01-16 11:02:49
Sorry, I ended up just going with a basic forum post



Hrt Icon 0 players like this post! Like?

Hok-Z|Hiatus (#41458)


View Forum Posts


Posted on
2023-01-16 16:22:53
I saw this late last night but ended up falling asleep

This method will work for the FIRST spoiler you put in your HTML.
For ALL SEQUENTIAL SPOILERS in the SAME TABLE, You can just use [*spoiler] Text [*/spoiler] as you normally would!

Use this for the FIRST Spoiler!
<*table style="style:goesinhere";><*span style="style:goesinhere;"> This text would be above and outside the spoiler.
[*spoiler]<*span style="style:goesinhere;"> This text would be spoiler'd AND STYLED within the spoiler. You want to copy/paste your previous span's style here, or else it won't be all fancy!
[*/spoiler]<*span style="style:goesinhere;"> This text would be OUTSIDE and BELOW the spoiler. You need to copy/paste the Span style again, so that the text below the spoiler get styled.
[*spoiler] For all other spoilers after the first, you can just do it normally. [*/spoiler]
<*/span><*/span><*/style>


--------- Here's an Example: ---------




This is OUTSIDE The spoiler!




This is OUTSIDE the spoiler, but after it!






Hrt Icon 1 player likes this post! Like?


Edited on 16/01/23 @ 16:29:43 by Hok-Z|ϴryx, G2 Haze Smilus (#41458)







Memory Used: 538.56 KB - Queries: 0 - Query Time: 0.00000 - Total Time: 0.00306s