Can't create an appropriate css selector -


there 2 type of links in webpage. 1 type of link contains class , itemprop both in , other contains class in it. in below links, first 1 both class , itemprop , second 1 class. however, if want selector not select links "itemprop" in it, how selector like?

<a href="/los-angeles-ca/mip/crispy-crust-hollywood-location-443529?lid=1000226108758" itemprop="name" class="business-name"></a>  <a href="/los-angeles-ca/mip/casa-bianca-pizza-pie-13519?lid=1000203432051" data-analytics="{&quot;target&quot;:&quot;name&quot;,&quot;feature_click&quot;:&quot;&quot;}" rel="" class="business-name" data-impressed="1"></a> 

i've tried below 1 selects all:

a.business-name 

when tried this, selects links both item:

a[itemprop="name"].business-name 

when tried class in it, doesn't work:

a[not(itemprop="name")].business-name 

i think there little syntax change needed. job

a.business-name:not([itemprop="name"]) 

Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -