https://developer.mozilla.org/en-US/docs/Web/CSS/Adjacent_sibling_selectors
On Sat, Aug 31, 2013 at 10:12 AM, Ben Stover <[email protected]> wrote: > Assume I have HTML/CSS structure like > > .... > <td class="tabcell" ....> > <div class=foobar"> > ... > </div> > <div class=foobar"> > ... > </div> > </td> > ... > > > Now I want to apply a GreseMonkey instruction > > GM_addStyle("div.foobar { display: none !important; }"); > > BUT ONLY for the second occurence! The first one show be displayed. > > How can I achieve this? > > Ben > > > > > > -- > You received this message because you are subscribed to the Google Groups > "greasemonkey-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/greasemonkey-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/groups/opt_out.
