Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. CSS Poll

CSS Poll

Scheduled Pinned Locked Moved The Lounge
c++cssarchitecture
48 Posts 43 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Chris Maunder

    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

    S Offline
    S Offline
    Shog9 0
    wrote on last edited by
    #7

    All but #4, depending on what mood i'm in. I hate ALL CAPS. Apart from that, i don't really care.

    1 Reply Last reply
    0
    • C Chris Maunder

      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

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #8

      What's a CSS?

      B 1 Reply Last reply
      0
      • C Chris Maunder

        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

        P Offline
        P Offline
        Pravarakhya
        wrote on last edited by
        #9

        Im ORiginal, I LIke JIraffecase..

        Pravar My Image Processing Article! Rate it!! My Blog

        1 Reply Last reply
        0
        • C Chris Maunder

          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

          J Offline
          J Offline
          James L Thomson
          wrote on last edited by
          #10

          Classes are usually PascalCase. Methods are PascalCase with underscores. Variables are camelCase unless they're static, in which case they're oxymora (also UPPERCASE).

          S 1 Reply Last reply
          0
          • C Chris Maunder

            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

            S Offline
            S Offline
            Stuart Dootson
            wrote on last edited by
            #11

            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

            T 1 Reply Last reply
            0
            • C Chris Maunder

              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

              M Offline
              M Offline
              martin_hughes
              wrote on last edited by
              #12

              7. Hungarian And also, ahem, "Please do not post programming questions here." :-D :-D

              Books written by CP members

              G 1 Reply Last reply
              0
              • J James L Thomson

                Classes are usually PascalCase. Methods are PascalCase with underscores. Variables are camelCase unless they're static, in which case they're oxymora (also UPPERCASE).

                S Offline
                S Offline
                Shog9 0
                wrote on last edited by
                #13

                Since CSS has neither methods nor variables, i take it you're voting for #3?

                N 1 Reply Last reply
                0
                • C Chris Maunder

                  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

                  B Offline
                  B Offline
                  Boro_Bob
                  wrote on last edited by
                  #14

                  5: page-section-subsection-specific

                  Words fade as the meanings change, but somehow, it don't bother me.

                  1 Reply Last reply
                  0
                  • C Chris Maunder

                    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

                    X Offline
                    X Offline
                    Xiangyang Liu
                    wrote on last edited by
                    #15

                    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

                    D 1 Reply Last reply
                    0
                    • C Chris Maunder

                      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

                      E Offline
                      E Offline
                      Ennis Ray Lynch Jr
                      wrote on last edited by
                      #16

                      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

                      P 1 Reply Last reply
                      0
                      • C Chris Maunder

                        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

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #17

                        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')

                        1 Reply Last reply
                        0
                        • C Chris Maunder

                          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

                          B Offline
                          B Offline
                          Brady Kelly
                          wrote on last edited by
                          #18

                          1 and 5

                          1 Reply Last reply
                          0
                          • C Chris Maunder

                            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

                            F Offline
                            F Offline
                            Fernando A Gomez F
                            wrote on last edited by
                            #19

                            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

                            1 Reply Last reply
                            0
                            • E Ennis Ray Lynch Jr

                              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

                              P Offline
                              P Offline
                              PIEBALDconsult
                              wrote on last edited by
                              #20

                              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

                              E 1 Reply Last reply
                              0
                              • P PIEBALDconsult

                                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

                                E Offline
                                E Offline
                                Ennis Ray Lynch Jr
                                wrote on last edited by
                                #21

                                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

                                P 1 Reply Last reply
                                0
                                • E Ennis Ray Lynch Jr

                                  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

                                  P Offline
                                  P Offline
                                  PIEBALDconsult
                                  wrote on last edited by
                                  #22

                                  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 & )

                                  1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    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

                                    R Offline
                                    R Offline
                                    Rutvik Dave
                                    wrote on last edited by
                                    #23

                                    3. PascalCase

                                    1 Reply Last reply
                                    0
                                    • C Chris Maunder

                                      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

                                      J Offline
                                      J Offline
                                      JimmyRopes
                                      wrote on last edited by
                                      #24

                                      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

                                      1 Reply Last reply
                                      0
                                      • C Chris Maunder

                                        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

                                        H Offline
                                        H Offline
                                        Hans Dietrich
                                        wrote on last edited by
                                        #25

                                        1. lowercase

                                        Best wishes, Hans


                                        [Hans Dietrich Software]

                                        1 Reply Last reply
                                        0
                                        • C Chris Maunder

                                          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

                                          L Offline
                                          L Offline
                                          Luc Pattyn
                                          wrote on last edited by
                                          #26

                                          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.


                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups