HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
How to enter comments in a CSS file
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
mypointofview



Joined: 18 Mar 2005
Posts: 32
Location: Los Angeles

PostPosted: Tue Jun 07, 2005 12:51 pm     How to enter comments in a CSS file Reply with quote

I know how to add comments into html by using a line like this <!-- my invisible comment --> or by entering two dashes // inside a javascript header. I need comments in my code to keep an oversight of what I'm doing.

How can I write my comments into a CSS document so that they don't affect the CSS code? I've tried above methods but they don't work well.

Thanks,
Martin
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8257
Location: Castle Rock CO USA

PostPosted: Tue Jun 07, 2005 2:06 pm     Reply with quote



Try using:
Code:
/*

and
Code:
*/

so that you have something like:
Code:
/* this covers all the browsers */
mypointofview



Joined: 18 Mar 2005
Posts: 32
Location: Los Angeles

PostPosted: Mon Jun 13, 2005 10:43 pm     Thank you. Reply with quote

Cool Very useful tip.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial