Re: [css-d] Classes vs. ids

2005-11-29 Thread Kim Finleyson
List Subject: [css-d] Classes vs. ids Here's a general question about CSS that I've been able to quite figure out. If one has a DIV that will only appear once per page, which should one use: a class or an id? Classes are obviously useful at applying to multiple elements, or applying multipl

Re: [css-d] Classes vs. ids

2005-11-29 Thread Kirk Clawes
On 11/29/05, Mark Fredrickson <[EMAIL PROTECTED]> wrote: > > Here's a general question about CSS that I've been able to quite figure > out. > If one has a DIV that will only appear once per page, which should one > use: > a class or an id? > > Classes are obviously useful at applying to multiple el

Re: [css-d] Classes vs. ids

2005-11-29 Thread Adam Kuehn
At 11:54 AM 11/29/2005, Mark Fredrickson wrote: >Here's a general question about CSS that I've been able to quite figure out. >If one has a DIV that will only appear once per page, which should one use: >a class or an id? This is a FAQ, and as such it appears on the CSS-D Wiki. See

Re: [css-d] Classes vs. ids

2005-11-29 Thread Christian Heilmann
> Here's a general question about CSS that I've been able to quite figure out. > If one has a DIV that will only appear once per page, which should one use: > a class or an id? > Classes are obviously useful at applying to multiple elements, or applying > multiple classes to one element. What advan

Re: [css-d] Classes vs. ids

2005-11-29 Thread Ben Henick
On Tue, 29 Nov 2005, Mark Fredrickson wrote: > Here's a general question about CSS that I've been able to quite figure > out. If one has a DIV that will only appear once per page, which should > one use: a class or an id? An oldie, but a goodie (beware obsolete code): http://www.hotwired.com/web

Re: [css-d] Classes vs. ids

2005-11-29 Thread Keith Sader
On 11/29/05, Mark Fredrickson <[EMAIL PROTECTED]> wrote: > Here's a general question about CSS that I've been able to quite figure out. > If one has a DIV that will only appear once per page, which should one use: > a class or an id? Well lMO, an id should be used for a specific item that won't ap

[css-d] Classes vs. ids

2005-11-29 Thread Mark Fredrickson
Here's a general question about CSS that I've been able to quite figure out. If one has a DIV that will only appear once per page, which should one use: a class or an id? Classes are obviously useful at applying to multiple elements, or applying multiple classes to one element. What advantages ha