Howto CSS classes give meaningful names

User 131545 Photo


Registered User
687 posts

Hi all, support, web designers

How do I specify CSS classes a good descriptive name. It is what makes the class so its purpose.
Can you give some examples of how I can give a class a good name.
How do I do that in the design ?. Using took many classes as "container", "wrapper", "frame"
Is that a good name for a class
.wrapper button?

I find difficult to give meaningful names to CSS classes.
Are there rules of thumb that can be used?

Thanks
Kind regards
Stephane
Toekomstgerichte door ICT gebeten IT'er
Stephane Fonteyne
Ba. Elektronica - ICT
Application Software PowerBasic Developer
e-mail : stephane.fonteyne@telenet.be
gmail : stephane760126@gmail.com
linkin : in : <http://www.linkedin.com/pub/stephane-fonteyn/53/402/204>
twitter : @Stefke36
User 2699991 Photo


Registered User
5,402 posts
Online Now

Hello Stephane from Sunny Bali
How can anyone possibly give you advice and examples on what is a good descriptive name,, (especially when nobody knows what the web-site is for or about) that's like asking 2,000 people to give you a name for your children (you would get so many different names you still wouldn't be able to choose,,

One thing for sure though is that whatever name you decide, make sure that it is one that it can live with for the rest of it's life (same as with children)

Here is a great article written by CC guru Jordan give it a read
http://www.coffeecup.com/help/articles/how-to-semantically-name-your-classes/

If that is too difficult for you then I suggest you go to the nearest large bookstore, there is a series of books called " The Idiot's Guide To (xxxxxx)" I think they will do one for naming conventions,,,, buy it if they do and give it a read, if not then perhaps you could write to them and suggest that they publish one for you tut suite.....
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://rsd-tutorialscom.coffeecup.com/index.html
User 2147646 Photo


Registered User
233 posts


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.