Thanks for your reply, Karl. However, the only concatenated selectors I know of in CSS are a.style:hover pseudos and, if you like that sort of thing, 'advanced' ones.
Where in the CSS specs does it say one should string the style of a header directly onto the element? On Apr 20, 4:57 am, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > It'd probably be a good idea to brush up on CSS selectors as that's > how jQuery does it's "selecting": > > http://www.westciv.com/style_master/academy/css_tutorial/selectors/in... > > Karl Rudd > > On Sun, Apr 20, 2008 at 1:38 PM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > As anyone who's flicked over my beginner's blog will know, jQuery > > provides a constantly vertical learning curve (!) It isn't made any > > easier by the lack of basic instruction. > > > I realise this is largely because of my very basic Javascript > > knowledge - but some of the problems I encounter are special to > > jQuery, and I'd love to know whether somebody has already written a > > style guide? > > > Example: I've just discovered I needed to concatenate a selector. > > Normally, one can use: > > $( '#someid .someclass' ) - as advertised by jQuery, the CSS selector. > > I have a heading + class to select with jQuery. After more than half > > an hour of failed experiments, I found it must be: > > $( 'h2.someclass') - as not advertised anywhere that I know of! > > > Can I find a reference to this kind of thing?? I'm having a hard > > enough time as it is! > > > thanks - > > Cherry > > (http://jquery.cherryaustin.com)