On Sun, 19 Nov 2006, Matthew Raymond wrote: > > For ".login h1" and "h1:not(login h1)", one would think the following > would work: > > | h1 { /* Common styling. */ } > | .login h1 { /* Login styling. */ } > | :not(.login) > h1 { /* Styling for non-Login level 1 headers. */ } > | :not(.login) > * > h1 { /* Styling for non-Login level 1 headers. */ } > | :not(.login) > * > * > h1 { /* ... */ } > | :not(.login) > * > * > * > h1 { /* ... */ } > | :not(.login) > * > * > * > * > h1 { /* ... */ } > | :not(.login) > * > * > * > * > * > h1 { /* ... */ } > | :not(.login) > * > * > * > * > * > * > h1 { /* ... */ } > | :not(.login) > * > * > * > * > * > * > * > h1 { /* ... */ } > | :not(.login) > * > * > * > * > * > * > * > * > h1 { /* ... */ } > | :not(.login) > * > * > * > * > * > * > * > * > * > h1 { /* ... */ } > | [... On into infinity ...] Or you could just use CSS1: h1 { /* styling specific to non-login level 1 headers */ } .login h1 { /* login styling */ } -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'Received on Monday, 20 November 2006 18:55:02 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:47 GMT