Right. In CSS a space means "any descendant of." So "div.someClass" means all divs with a class of someClass, while "div .someClass" means any element with a class of someClass that is a descendant of any div.
-Fred On Fri, Jun 27, 2008 at 5:31 AM, elduderino <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks for the reply. I don't think that's it....that'll give me > #dragGame1.dragMe as the + has concatenated the whole thing. I have > tried it but it doesn't work. From looking at the api docs theres an > example like this...: > > $$('#contents a[rel]'); > // -> all links inside the element of ID "contents" with a rel > attribute -- Science answers questions; philosophy questions answers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---