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
Im ORiginal, I LIke JIraffecase..
-
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
Classes are usually PascalCase. Methods are PascalCase with underscores. Variables are camelCase unless they're static, in which case they're oxymora (also UPPERCASE).
-
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
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
-
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
7. Hungarian And also, ahem, "Please do not post programming questions here." :-D :-D
-
Classes are usually PascalCase. Methods are PascalCase with underscores. Variables are camelCase unless they're static, in which case they're oxymora (also UPPERCASE).
-
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
You need a chainsaw to kill someone or yourself when your css class works differently with differrent browsers.
My .NET Business Application Framework My Home Page My Younger Son & His "PET"
modified on Thursday, August 20, 2009 6:25 PM
-
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
I only do it the right way. More importantly than naming convention, in css, is spacing convention. Some of the tools seem to create god-awful layouts of css. I use 2 for css since all web standards languages are camelCase including xml no matter what M$ has to say about the matter.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane
-
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. But I have no idea why - I actually had to check to see what I did as I must do it unconsciously (some would argue that much of my programming looks like it was developed by someone who was unconscious at the time)
___________________________________________ .\\axxx (That's an 'M')
-
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 and 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
I rather embed a style attribute to the tag, much to the dismay of my fellow graphical designers. :evillook:
Stupidity is an International Association - Enrique Jardiel Poncela
-
I only do it the right way. More importantly than naming convention, in css, is spacing convention. Some of the tools seem to create god-awful layouts of css. I use 2 for css since all web standards languages are camelCase including xml no matter what M$ has to say about the matter.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane
Ennis Ray Lynch, Jr. wrote:
all web standards languages are camelCase including xml
Huh? What? Angle brackets, equal signs, and quotes don't have case do they? :-D
-
Ennis Ray Lynch, Jr. wrote:
all web standards languages are camelCase including xml
Huh? What? Angle brackets, equal signs, and quotes don't have case do they? :-D
By that logic no language features a casing strategy.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane
-
By that logic no language features a casing strategy.
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane
C# is case-sensitive and has keywords -- all lowercase. XML is case-sensitive, but does it have keywords? (All I can think of are <, >, and & )
-
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
3. PascalCase
-
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
Chris Maunder wrote:
3. PascalCase
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes -
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