Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

i need write HTML, CSS & Javascript in Comment box and discussion box.

ChanuxChanux Admin of Geek.lk ✭✭
edited December 2011 in Vanilla 2.0 - 2.8

i need write HTML, CSS & Javascript in Comment box and discussion box. but thay are not display when i type. but i saw in your forum its works nicely.

i mean it has different color
raw number
relay its grate
like this dissussion CODES http://vanillaforums.org/discussion/16973

haw can i do this

Best Answers

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP
    Answer ✓

    If you put it between <code> </code>
    tags it should show:


    {
    border: 0 none;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
    }

  • Options
    x00x00 MVP
    Answer ✓

    use <pre></pre>

    { 
        border: 0 none;
        font-family: inherit;
        font-size: 100%;
        font-style: inherit;
        font-weight: inherit;
        margin: 0;
        outline: 0 none;
        padding: 0;
        vertical-align: baseline; 
    }

    grep is your friend.

  • Options
    x00x00 MVP
    Answer ✓

    the color coding an number are done by Google Prettify:
    http://vanillaforums.org/addon/googlecodeprettify-plugin

    grep is your friend.

Answers

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP
    Answer ✓

    If you put it between <code> </code>
    tags it should show:


    {
    border: 0 none;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
    }

  • Options
    x00x00 MVP
    Answer ✓

    use <pre></pre>

    { 
        border: 0 none;
        font-family: inherit;
        font-size: 100%;
        font-style: inherit;
        font-weight: inherit;
        margin: 0;
        outline: 0 none;
        padding: 0;
        vertical-align: baseline; 
    }

    grep is your friend.

  • Options
    x00x00 MVP
    Answer ✓

    the color coding an number are done by Google Prettify:
    http://vanillaforums.org/addon/googlecodeprettify-plugin

    grep is your friend.

  • Options
    ChanuxChanux Admin of Geek.lk ✭✭
     AAAAAA 
    
    

    AAAAAA

  • Options
    ChanuxChanux Admin of Geek.lk ✭✭

    dont work html meta tag with or

    <

    pre>

  • Options
    422422 Developer MVP

    Chanux said:
    dont work html meta tag with or

    <

    pre>

    What r u trying to do @chanux. .?

    There was an error rendering this rich post.

  • Options
    ChanuxChanux Admin of Geek.lk ✭✭

    i need post html code

    like
    meta tag
    title tag

Sign In or Register to comment.