The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    css codes

    mist3r0us_b0y
    mist3r0us_b0y
    Forumember


    Male Posts : 747
    Reputation : 19
    Language : english

    Solved css codes

    Post by mist3r0us_b0y November 26th 2013, 7:33 am

    i want to ask regarding css 

    while adding a new codes to css 

    is there a way to add new line before that code so that it reminds what we using that code for ?

    example : xyz code using for avatar in latest post ( now i want to add a line before it as - code for avatar in latest post ) so that it helps to know that this code starts from here and ends . 

    especially helps for noobs like me Razz 

    thanks waiting for ur response
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: css codes

    Post by Ange Tuteur November 26th 2013, 9:15 am

    Hello mist3r0us_b0y,

    You can enter comments in CSS like this:
    Code:
    /*This is a comment*/
    Comments can go anywhere so long as you remember to close them.
    mist3r0us_b0y
    mist3r0us_b0y
    Forumember


    Male Posts : 747
    Reputation : 19
    Language : english

    Solved Re: css codes

    Post by mist3r0us_b0y November 26th 2013, 2:38 pm

    you mean in the place of ( this is a comment) i can replace it with anything right ?
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: css codes

    Post by Ange Tuteur November 26th 2013, 2:49 pm

    /*Any thing between here will not be read as code*/
    mist3r0us_b0y
    mist3r0us_b0y
    Forumember


    Male Posts : 747
    Reputation : 19
    Language : english

    Solved Re: css codes

    Post by mist3r0us_b0y November 26th 2013, 2:52 pm

    ok great ty topic can lock now
    Ultron's Vision
    Ultron's Vision
    Forumember


    Male Posts : 631
    Reputation : 45
    Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
    Location : Vienna, Austria

    Solved Re: css codes

    Post by Ultron's Vision November 26th 2013, 2:53 pm

    Example below.

    Code:
    /* below, a code to modify our toolbar's display status to keep it invisible */
    #fa_toolbar{display:none;}
    /* also hide our navbar */
    #navbar{display:none;}
    Now the above isn't very useful, but it explains how you could use the comments.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: css codes

    Post by Ange Tuteur November 26th 2013, 3:06 pm

    Topic Solved and Archived

      Current date/time is September 23rd 2024, 3:34 am