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.

css codes

3 posters

Go down

Solved css codes

Post by mist3r0us_b0y Tue Nov 26, 2013 12: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
mist3r0us_b0y
mist3r0us_b0y
Forumember

Male Posts : 747
Reputation : 19
Language : english

http://sh.st/nJRXG

Back to top Go down

Solved Re: css codes

Post by Ange Tuteur Tue Nov 26, 2013 2: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.
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: css codes

Post by mist3r0us_b0y Tue Nov 26, 2013 7:38 am

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

Male Posts : 747
Reputation : 19
Language : english

http://sh.st/nJRXG

Back to top Go down

Solved Re: css codes

Post by Ange Tuteur Tue Nov 26, 2013 7:49 am

/*Any thing between here will not be read as code*/
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: css codes

Post by mist3r0us_b0y Tue Nov 26, 2013 7:52 am

ok great ty topic can lock now
mist3r0us_b0y
mist3r0us_b0y
Forumember

Male Posts : 747
Reputation : 19
Language : english

http://sh.st/nJRXG

Back to top Go down

Solved Re: css codes

Post by Ultron's Vision Tue Nov 26, 2013 7:53 am

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.
Ultron's Vision
Ultron's Vision
Forumember

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

http://duelacademy.net

Back to top Go down

Solved Re: css codes

Post by Ange Tuteur Tue Nov 26, 2013 8:06 am

Topic Solved and Archived
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum