I am trying to select an HTML tag - div#PagesProfileAboutInfoPagelet_93077529503
The bolded section changes for each page
Is there a way to make this selector dynamic so that it will pick up if this number changes?
I am trying to select an HTML tag - div#PagesProfileAboutInfoPagelet_93077529503
The bolded section changes for each page
Is there a way to make this selector dynamic so that it will pick up if this number changes?
In CSS, #something is the same as id='something'. There is also the "begins with" selector for cases like this. Try this:
div[id^='PagesProfileAboutInfoPagelet']
Ref:
https://www.w3schools.com/cssref/sel_id.asp
https://www.w3schools.com/cssref/css_selectors.asp
Thanks so much Lee. That is going to be really helpful.