Css Question

Sacred Dragon

Yes, that's a Mewtwo
  • 46
    Posts
    17
    Years
    How do you enable Css on a forum? I am not asking how to use it, but how to enable it.

    I'd really appreciate it if someone would answer this, thank you.
     
    ^ He's right, but If you don't completely understand css, I suggest that you find someone to teach you css.

    To answer your question, the only thing you need to "enable" css coding is to put the tags in.
     
    here's a neat list I found useful when I began really messing with signatures.
    also you can get some more good tutorials for css in general, which is actually not that hard to translate to the bbcode tags, over at https://www.w3schools.com/


    Edit: oops sorry, I must've missed the little note in the first post. Usually Css isn't a default setting on forums to be turned off and on, most of the time you must create your own custom code tags for your users. usually those options are in the Admin CP.
     
    Last edited:
    ^ He's right, but If you don't completely understand css, I suggest that you find someone to teach you css.

    To answer your question, the only thing you need to "enable" css coding is to put the tags in.
    Unless you mean you want to allow it in your own forum. In that case, it varies from software to software. Basically, you should be able to allow it from Sig Settings in the ACP and then allow it in each part of the forum, through Forum Management.
     
    Wait, so if you're asking how to make the tags, I can only help you out with MyBB.

    Go into your ACP and find the Custom MyCode option. Fill it out like this:

    Code:
    MyCode Title :: CSS Tags
    MyCode Description :: Gives users the ability to use CSS in signatures.
    Regular Expression :: \[div=(.*?)\](.*?)\[/css-div\]
    Replacement :: <div style="$1">$2</div>
    Activate MyCode :: YES

    If that's what you were asking for. :P It should work, if not just say so.
     
    Wait, so if you're asking how to make the tags, I can only help you out with MyBB.

    Go into your ACP and find the Custom MyCode option. Fill it out like this:

    Code:
    MyCode Title :: CSS Tags
    MyCode Description :: Gives users the ability to use CSS in signatures.
    Regular Expression :: \[div=(.*?)\](.*?)\[/css-div\]
    Replacement :: <div style="$1">$2</div>
    Activate MyCode :: YES
    If that's what you were asking for. :P It should work, if not just say so.

    Thank you, I appreciate your answer :D.
    Same for everyone else's too.

    EDIT:

    It didn't work...
    It gives me 2 boxes that say:

    BB Code Usage and HTML Replacement.

    What do I put in those boxes?
     
    Last edited:
    Back
    Top