>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.
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,
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
>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
>> 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
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
> 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/
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