Re: [css-d] Class and id used together

2005-11-13 Thread Ingo Chao
Kerry Kobashi wrote: > Is the use of classes and id together well supported in browsers today? > > Any thing to be aware of that will end up in gotchas later on through its > use? There are two possible gotchas in IE6. Ingo http://www.w3.org/TR/html4/strict.dtd";> gotchas with class-class o

Re: [css-d] Class and id used together

2005-11-13 Thread Rob Cochrane
Kerry Kobashi wrote: Is the use of classes and id together well supported in browsers today? Any thing to be aware of that will end up in gotchas later on through its use? Hi Kerry, there is no problem using classes and id's together just remeber that an id may only be used once in a document

Re: [css-d] Class and id used together

2005-11-12 Thread Christian Heilmann
> Doing this presupposes that you will only have one blue item and one red > item on a page. What if you want to create anything else on the page with a > blue background? I would keep them all classes and use the structure below > > .box {border: 1px solid black; } > .blue{background-color: blu

Re: [css-d] Class and id used together

2005-11-12 Thread Graham Cook
Hi Kerry, Doing this presupposes that you will only have one blue item and one red item on a page. What if you want to create anything else on the page with a blue background? I would keep them all classes and use the structure below .box {border: 1px solid black; } .blue{background-color: blu

[css-d] Class and id used together

2005-11-12 Thread Kerry Kobashi
Is the use of classes and id together well supported in browsers today? Any thing to be aware of that will end up in gotchas later on through its use? For example: .box { border: 1px solid black; } #blue { background-color: blue; } #red { background-color: red; }