Skip to main content
Question

css selector for span

  • November 6, 2022
  • 1 reply
  • 69 views

checcosisani
Contributor
Forum|alt.badge.img+12

Hi

i need to extract only text inside span

I used this css string for this website http://sac5.halleysac.it/c038007/mc/mc_p_ricerca.php?multiente=c038007&pag=0

tbody > tr:nth-child(-n+20) > td.break-all

 

image 

thx

Francesco

1 reply

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3422 replies
  • November 7, 2022

If you want the content of the span element that is within a <td> element with class='break-all" then td.break-all span should work

 

image