CSS Poll
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
no dashes, no underscores PascalCase for divs camelCase for classes and IDs however most names are single word, so it looks more like Pascal and camel. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
CSS? that's dead hail Silverlight! ;P
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
Used to be Pascal for ID's and camel for classes. Now always PascalCase for both
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
.class .anotherclass .yetanotherclass .moreclassness .fifthclass .ireallyshouldgivetheseclassesnames .nooneunderstandsmycode So 1) :-D
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
6+1
-
3 - which, as I thought (at first) it was a vote-your-selection thing, is why you just got a 3 vote...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
you can override your vote by revoting (just saying ;P )
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
None. I don't do web work. In fact, it's more than 6 months since I wrote any production code that's not SQL.
Cheers, Vikram. (Proud to have finally cracked a CCC!)
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
1 & 6. Although I have to agree with what was said previously; it's the layout that determines how easy it is to understand. Tony
-
What's a CSS?
Cascading Style Sheets - a technique for being able to globally change styles of text etc. Now replaced by a more efficient method of using tables and hard coded HTML local styles. This new development has a major advantage of preventing global changes to a web site, and at the same time improving job security for web designers and compatibility with IE4 :)
-
7. Hungarian And also, ahem, "Please do not post programming questions here." :-D :-D
1. It wasn't a 'plz send codez' question, it was a 'what do you prefer?' question. 2. He didn't ask us to do his homework. He has a staff to do that for him now. 3. He's the freakin' site moderator and owner; if he wants to violate the rules, post pr0n, or convert everything to Klingon, he can do so.
Software Zen:
delete this;
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
1. lowercase
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
camelCase
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
1 & 5
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
Tag specific classes in lower case (
, , etc.). Classes are either in PascalCase or camelCase. Usually camel, though mostly lowercase as I use single word names for most classes. This is mostly at-home stuff. I haven't done any "professional" site-design work yet. :) Flynn
-
Do you name your CSS classes 1. lowercase 2. camelCase 3. PascalCase 4. UPPERCASE 5. dash-separated (in combo with 1-4) 6. C_style_separated (in combo with 1-4)
cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP
2 seems the most natural to me. Variety in formats for names makes for mistakes in coding, logic, and display. I have not found where camel case does not apply. I can see 4 as a good alternative, but the upper case/lower case confusion starts to creep in. I guess it is what you are used to.
"Coding for fun and profit ... mostly fun"