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