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 26 Nov - 8:33

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 26 Nov - 10:15

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 : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: css codes

Post by mist3r0us_b0y Tue 26 Nov - 15:38

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 26 Nov - 15:49

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

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: css codes

Post by mist3r0us_b0y Tue 26 Nov - 15:52

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 26 Nov - 15:53

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 : 634
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 26 Nov - 16:06

Topic Solved and Archived
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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