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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -