Re: [css-d] Specifying CSS definition via HTML attributes & IE6

2006-10-22 Thread Alex Robinson
>Attribute selectors are part of CSS 2. >http://www.w3.org/TR/CSS2/selector.html#attribute-selectors Whoops - David is absolutely right. It was only Substring matching attribute selectors that got added in CSS3. I plain forgot that attribute selectors predated that.

Re: [css-d] Specifying CSS definition via HTML attributes & IE6

2006-10-20 Thread David Dorward
On 20/10/06, Barney Carroll <[EMAIL PROTECTED]> wrote: > I didn't realise attribute selectors were CSS3, either. I think this > adventure can go down as a lesson in bad practice. Attribute selectors are part of CSS 2. http://www.w3.org/TR/CSS2/selector.html#attribute-selectors IE 6 just doesn't,

Re: [css-d] Specifying CSS definition via HTML attributes & IE6

2006-10-20 Thread Barney Carroll
Thanks Alex. I couldn't see the forest for the trees, as it were. As it turns out, the use of the id attribute is particularly amusing because there are four such forms on one page, and they are all significantly different. When I resign myself to styling someone else's markup, I go partially b

Re: [css-d] Specifying CSS definition via HTML attributes & IE6

2006-10-20 Thread Alex Robinson
>I have definitions like the one below... Which IE6 simply doesn't seem >to acknowledge. > >form[id="resourceSelector"] .resource.left >{clear: left; margin-right: 2em;} > >Any help? As Christian has just pointed out, IE6 doesn't understand CSS3 attribute selectors (sidenote: IE7 does). However

Re: [css-d] Specifying CSS definition via HTML attributes & IE6

2006-10-20 Thread Barney Carroll
>> form[id="resourceSelector"] .resource.left >> {clear: left; margin-right: 2em;} > > It's entirely possible that IE6 doesn't support attribute specs. But > you don't need them for the example you give; just use > > form#resourceSelector .resource.left Hahaha... That's hilarious. It's somehow

Re: [css-d] Specifying CSS definition via HTML attributes & IE6

2006-10-20 Thread Mark J. Reed
On 10/20/06, Barney Carroll <[EMAIL PROTECTED]> wrote: > I have definitions like the one below... Which IE6 simply doesn't seem > to acknowledge. > > form[id="resourceSelector"] .resource.left > {clear: left; margin-right: 2em;} It's entirely possible that IE6 doesn't support attribute specs. But

Re: [css-d] Specifying CSS definition via HTML attributes & IE6

2006-10-20 Thread Christian Heilmann
> Does anyone know of any reason why IE6 wouldn't understand attribute > specification in CSS definition? I've fallen into that terrible practice IE6 does not support attribute selectors in the form of foo[bar]. It is an old browser. Parallels is your friend. http://www.parallels.com/en/products/

[css-d] Specifying CSS definition via HTML attributes & IE6

2006-10-20 Thread Barney Carroll
Hi folks, Does anyone know of any reason why IE6 wouldn't understand attribute specification in CSS definition? I've fallen into that terrible practice of working exclusively on Mac for a couple of days - with the inevitable result of having an IE-using colleague tap me on the shoulder and burs