We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] CSS selectors in posts
Topic Started: Jan 19 2015, 07:47 PM (235 Views)
Nayu
Member
[ * ]
My board is using code from here to use CSS in post. But is it still possible to improve the [style] code so we can use selectors in posts?
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
I think you're wanting to use the class BBCode:
Code:
 
[class=test]Test[/class]
Code:
 
span.bbcode-test {
/* Insert CSS Here */
}
Or, do you mean you want to directly embed CSS into posts? If so, I wouldn't advise allowing that because users can use CSS maliciously to restyle the board and hide parts of the board.
Offline Profile Goto Top
 
Roby
Member Avatar
#27

Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic