Select a div with no unique class/ID

I'm having trouble referencing a specific div across several webpages.

The div has no unique class or ID, just a generic class and the usual "style" HTML. I'd normally copy the whole thing as a div [style=""] but I've tried that four different ways and it just isn't working. :nth-child() doesn't work either because the page rearranges itself, so when the div is no longer the specified child the style no longer applies to it.

Is there any way to reference these moving divs or am I going to have to hack something in? If so, does anyone have any ideas as to how?


  • Give an example what page and div you want to change
  • Keep in mind it doesn't have to be just one selector. It's only important to not target something wrong.

    As Pabli said, in this case we need several examples of html code to figure out a matching rule.
Sign In or Register to comment.