Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:nth-child selector not working #189

Open
ddd-malay opened this issue Apr 13, 2018 · 1 comment
Open

:nth-child selector not working #189

ddd-malay opened this issue Apr 13, 2018 · 1 comment

Comments

@ddd-malay
Copy link

ddd-malay commented Apr 13, 2018

When applied :nth-child selector, it is returned without processing as:

<style type="text/css">#T_f3b87378_3f02_11e8_86eb_56fb18605103 tbody > tr > td:nth-child(3) {text-align:left}</style>

:last-child could be applied successfully.

I need to apply selector to second/nth column of a table.

Thanks.

@peterbe
Copy link
Owner

peterbe commented Apr 13, 2018

Could it be that cssselect doesn't support :nth-child?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants