Posted by <hr> tag help?

Mouse (James,
he/him) (#58508)

Divine
View Forum Posts


Posted on
2022-03-13 16:09:12
Hi!! I'm having some trouble with the <*hr> tag on lioden. It appears in previews, but not when the post is live.

I have also tried the following as an alternative:
<*div style="width:100%;margin-top:1em;margin-bottom:1em;border-bottom: 3px solid #000;'><*/div>
Once again, the same thing happens: the correct output shows when I preview the message, but not when the post is live.

Is this tag somehow blocked on lioden? Or is there something I'm missing here?
Is there an alternative I can use?



Hrt Icon 0 players like this post! Like?

Mouse (James,
he/him) (#58508)

Divine
View Forum Posts


Posted on
2022-03-13 16:10:13
For demonstration, here are both options:

Hr:


Div:




Hrt Icon 0 players like this post! Like?

Mouse (James,
he/him) (#58508)

Divine
View Forum Posts


Posted on
2022-03-13 16:49:30
Update: also tried including   in the div - still nothing



Hrt Icon 0 players like this post! Like?

Trace (#68847)


View Forum Posts


Posted on
2022-03-13 20:27:07
From what I have personally tested, the div tag and the hr tag are disabled in the forums. I'm not sure what you are trying to use the hr tag for but if you want a responsive (HTML/CSS that adapts to a user's device) line break, an alternative that could be use is coding in a table and disabling the top, right and left border to only leave the bottom border. Hopefully, I make sense.

Example



Hrt Icon 0 players like this post! Like?

Mouse (James,
he/him) (#58508)

Divine
View Forum Posts


Posted on
2022-03-14 01:24:26
!!! Yeah!! That's really smart, thank you so much

While I was asleep, my friends figured out that in news posts as such, LD uses an image in place of <*hr>, but for whatever reason it seems that images only auto resize on parent posts, and that max-width:100%; is disabled too, at least for images. I'm a mobile user personally so responsiveness is the key thing I'm aiming for here.

I think your solution just might be exactly what I needed, I'll play around with it now!



Hrt Icon 0 players like this post! Like?

Mouse (James,
he/him) (#58508)

Divine
View Forum Posts


Posted on
2022-03-14 01:45:59
This works perfectly, thank you so much!

It's a shame there doesn't seem to be a list of disabled tags anywhere, that could save so much time.



Hrt Icon 0 players like this post! Like?

Trace (#68847)


View Forum Posts


Posted on
2022-03-14 03:07:24
I'm glad it works!

I think the forums on LD used to allow div and other more CSS tags like border radius (generally stuff that can be used in den CSS), but with how colourful things became and how things became harder to read.. things might have been disabled. It's a pity really.



Hrt Icon 0 players like this post! Like?

Mouse (James,
he/him) (#58508)

Divine
View Forum Posts


Posted on
2022-03-14 06:07:54
Oh man border radius is another one I had wanted to use until I realised it didn't work here

Maybe I'll do some more testing and try to compile a list of disabled tags, there's gotta be other people who keep running into issues and not knowing whether they're doing it wrong or whether it's literally impossible lol



Hrt Icon 0 players like this post! Like?

Trace (#68847)


View Forum Posts


Posted on
2022-03-14 06:21:04
I get your struggle.

There are quite some many things I have tested myself so feel free to poke me if you intend to make a list. I would love to help out!




Hrt Icon 0 players like this post! Like?

Mouse (James,
he/him) (#58508)

Divine
View Forum Posts


Posted on
2022-03-14 06:35:12
Sure thing, thank you so much! I'm actually pretty new to coding personally, so it would be a big help to have ideas from someone who knows more than just the basics.



Hrt Icon 0 players like this post! Like?







Memory Used: 621.11 KB - Queries: 0 - Query Time: 0.00000 - Total Time: 0.01324s