Re: [css-d] A question about the best practice to name css styles - classes and IDs

2005-06-12 Thread David Dorward
On 6/11/05, David Hucklesby <[EMAIL PROTECTED]> wrote: > I believe that all four are correct. Personally, I do not use underscores > as some (older?) browsers may not accept them. Netscape 4.x IIRC ... but I don't serve CSS to that browser in the first place, so its not a worry of mine. (If you do

Re: [css-d] A question about the best practice to name css styles - classes and IDs

2005-06-11 Thread David Hucklesby
Mikhail Bozgounov asked about these naming techniques: > > A) lowercase: #mainnav, #subnav, .bannersmall, .firstpara > B) lowerCase: #mainNav, #subNav, .bannerSmall, .firstPara > C) lower-case: #main-nav, #sub-nav, .banner-small, .first-para > D)  lower_case: #main_nav, #sub_nav, .banner_small, .fi

Re: [css-d] A question about the best practice to name css styles - classes and IDs

2005-06-10 Thread Stan Baptista
The concerns of the initial memo were: 1. what is the best practice to name your classes and IDs NOW, so you won't have to rewrite them TOMORROW? 2. What naming conventions do YOU use in your everyday pratice? According to this memo, 1 is satisfied primarily by avoiding underscores. As for 2

Re: [css-d] A question about the best practice to name css styles - classes and IDs

2005-06-10 Thread Uwe Kaiser
Mikhail Bozgounov schrieb: > > A) lowercase: #mainnav, #subnav, .bannersmall, .firstpara > B) lowerCase: #mainNav, #subNav, .bannerSmall, .firstPara > C) lower-case: #main-nav, #sub-nav, .banner-small, .first-para > D) lower_case: #main_nav, #sub_nav, .banner_small, .first_para > ---

Re: [css-d] A question about the best practice to name css styles - classes and IDs

2005-06-10 Thread Mikhail Bozgounov
>>What naming conventions do YOU use in your everyday pratice? > > I go for your option A > >> A) lowercase: #mainnav, #subnav, .bannersmall, .firstpara > > Prabhath Sirisena, http://nidahas.com I would go for it, too (plain lowercase), as most safe and bulletproof for the future, but the only

Re: [css-d] A question about the best practice to name css styles - classes and IDs

2005-06-10 Thread Peter
Mikhail Bozgounov wrote: Hi everyone! I have been naming my classes and IDs since the beginning of my education in xhtml and CSS like this 9and ALWAYS start with a LETTEr, of course:) : I use lowercase only, as it means that I don't mistype in the html. -- Peter Simons, Web Designer EpsiN

Re: [css-d] A question about the best practice to name css styles - classes and IDs

2005-06-10 Thread Prabhath Sirisena
> What naming conventions do YOU use in your everyday pratice? I go for your option A > A) lowercase: #mainnav, #subnav, .bannersmall, .firstpara Prabhath http://nidahas.com __ css-discuss [EMAIL PROTECTED] http://www.css-discus

[css-d] A question about the best practice to name css styles - classes and IDs

2005-06-10 Thread Mikhail Bozgounov
Hi everyone! I have been naming my classes and IDs since the beginning of my education in xhtml and CSS like this 9and ALWAYS start with a LETTEr, of course:) : 1) lowercase (like: #wrapper, #nav, .banner, etc.) 2) lowerCase - if consists of 2 or more words (like: #mainNav, #subNav, .fir