S
SamIO
Guest
Managing
Aside from the large blocks of structural code that make post sources hard to read and maintain, there's a lot of missed code reuse from all that repetition.
User-defined HTML/CSS is generally forbidden on forums, and for good reason, which is why we have bbCode instead. But I know I've seen it handled well on some in the past.
My suggestion would be to add a bbCode tag that makes use of something like iFrames to isolate the site view from potentially malicious CSS, and requiring users to write any kind of CSS onto these frames.
I'm a huge fan of experimenting with this kind of stuff when roleplaying, and it would be made a lot easier with something that allowed me to make use of CSS, or something similar to pull the styling out of the content portion of my posts.
[DIV]
s is pretty messy, especially with the usual inconsistent line-breaking behavior that comes with most forums.Aside from the large blocks of structural code that make post sources hard to read and maintain, there's a lot of missed code reuse from all that repetition.
User-defined HTML/CSS is generally forbidden on forums, and for good reason, which is why we have bbCode instead. But I know I've seen it handled well on some in the past.
My suggestion would be to add a bbCode tag that makes use of something like iFrames to isolate the site view from potentially malicious CSS, and requiring users to write any kind of CSS onto these frames.
I'm a huge fan of experimenting with this kind of stuff when roleplaying, and it would be made a lot easier with something that allowed me to make use of CSS, or something similar to pull the styling out of the content portion of my posts.
Last edited by a moderator: