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 1 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

    E Offline
    E Offline
    Edbert P
    wrote on last edited by
    #27

    3. Pascal Case Edbert Sydney, Australia

    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

      K Offline
      K Offline
      keozcigisoft
      wrote on last edited by
      #28

      CSS? that's dead hail Silverlight! ;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

        G Offline
        G Offline
        Grant Drury Green
        wrote on last edited by
        #29

        Used to be Pascal for ID's and camel for classes. Now always PascalCase for both

        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
          Fahad Sadah
          wrote on last edited by
          #30

          .class .anotherclass .yetanotherclass .moreclassness .fifthclass .ireallyshouldgivetheseclassesnames .nooneunderstandsmycode So 1) :-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

            J Offline
            J Offline
            Jonas Hammarberg
            wrote on last edited by
            #31

            6+1

            1 Reply Last reply
            0
            • S Stuart Dootson

              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 Offline
              T Offline
              Tom Deketelaere
              wrote on last edited by
              #32

              you can override your vote by revoting (just saying ;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

                P Offline
                P Offline
                phannon86
                wrote on last edited by
                #33

                Although I don't do any web development at work, I dable at home, camelCase always :)

                He who makes a beast out of himself gets rid of the pain of being a man

                1 Reply Last reply
                0
                • S Shog9 0

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

                  N Offline
                  N Offline
                  Naruki 0
                  wrote on last edited by
                  #34

                  I suspect a lot of people are confused and think this refers to a C language.

                  Codemonkeys don't do it at all. Too busy coding.

                  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

                    V Offline
                    V Offline
                    Vikram A Punathambekar
                    wrote on last edited by
                    #35

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

                    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

                      T Offline
                      T Offline
                      Tony Wright UK
                      wrote on last edited by
                      #36

                      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

                      1 Reply Last reply
                      0
                      • P PIEBALDconsult

                        What's a CSS?

                        B Offline
                        B Offline
                        Bob1000
                        wrote on last edited by
                        #37

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

                        1 Reply Last reply
                        0
                        • M martin_hughes

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

                          Books written by CP members

                          G Offline
                          G Offline
                          Gary Wheeler
                          wrote on last edited by
                          #38

                          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;

                          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
                            bVagadishnu
                            wrote on last edited by
                            #39

                            1. lowercase

                            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
                              Marc Firth
                              wrote on last edited by
                              #40

                              camelCase

                              Neonlight

                              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
                                pboucher
                                wrote on last edited by
                                #41

                                For me it's 1. lowercase with c_style_separated

                                Pierre Boucher 'Bien souvent on se rend coupable en négligeant d'agir, et non pas seulement en agissant.' - Marc Aurèle, empereur et philosophe romain.

                                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

                                  D Offline
                                  D Offline
                                  David Meridian
                                  wrote on last edited by
                                  #42

                                  1 & 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
                                    Flynn Arrowstarr Regular Schmoe
                                    wrote on last edited by
                                    #43

                                    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

                                    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

                                      D Offline
                                      D Offline
                                      dpminusa
                                      wrote on last edited by
                                      #44

                                      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"

                                      1 Reply Last reply
                                      0
                                      • X Xiangyang Liu

                                        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 Offline
                                        D Offline
                                        damaff
                                        wrote on last edited by
                                        #45

                                        I use this all the time for temporary string replacements:

                                        str = str.replace(substring, 'WoRdToYaMoM');

                                        ...Do something else with str then put substring back

                                        str = str.replace('WoRdToYaMoM', substring);

                                        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
                                          Erick Marlon
                                          wrote on last edited by
                                          #46

                                          My options: - CSS: #3 and #6(eventually) - javascript: #2 - html: #1 And one file by language.

                                          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