Re: [css-d] Div's Vs Classes

2005-06-30 Thread Michael Auty
Guys and gals, thanks very much for your input (and Adam, for bringing the thread back on topic) yours and Christians suggestion of designating structural ID's was the consensus that we reached in our last scoping session as the potential for an, as you put it 'dangerous' development environme

Re: [css-d] Div's Vs Classes

2005-06-24 Thread Adam Kuehn
Some idiot (namely, me) wrote: #content a.external {color: blue;} p.first a {color: green;} If the first rule uses a class instead of an ID, however, and the rules still appear in that order, the second rule will override the first, and your external link in the first paragraph will now be m

Re: [css-d] Div's Vs Classes

2005-06-24 Thread Adam Kuehn
Christian Heilmann wrote: this is off-topic though and better suited for the evolt list Indeed, most of this discussion was very much off-topic. Please confine crusades to the off-list community. Thanks. To respond to the concerns of the original post, the one pitfall I can see in develop

Re: [css-d] Div's Vs Classes

2005-06-24 Thread Christian Heilmann
> > It is a matter of keeping your CSS code clean and maintainable. > > did I say "go write spaghetti"? The OP is not allowed to use IDs. You did: Quote: in practice there is no real difference between id's and classes :EndQuote This is a wrong statement, to make it even remotely true it shoul

RE: [css-d] Div's Vs Classes

2005-06-24 Thread Rob Agar
Chris Heilmann: > It is a matter of keeping your CSS code clean and maintainable. did I say "go write spaghetti"? The OP is not allowed to use IDs. Whether he writes clean code is between him and his maker. The point is, just using classes will make no difference to the way the website *funct

Re: [css-d] Div's Vs Classes

2005-06-24 Thread Christian Heilmann
> > aside from the obvious reasons (ID's are declared only once, classes > > more than once) I'm interested to hear the lists opinion on the > > potential pitfalls of developing markup with CSS that uses > > only classes > > for layout purposes. > > in practice there is no real difference between

RE: [css-d] Div's Vs Classes

2005-06-23 Thread Rob Agar
Mike wrote: > aside from the obvious reasons (ID's are declared only once, classes > more than once) I'm interested to hear the lists opinion on the > potential pitfalls of developing markup with CSS that uses > only classes > for layout purposes. in practice there is no real difference betwee