Find the span from the series of div and apply style to it

Find the span from the series of div and apply style to it.
[css]
#columntablejqxgrid div[role="columnheader"]:first-child span{
text-align: left!important;
}
[/css]
It will find out the div which has ID as “columntablejqxgrid” and from that it finds the inner divs whose role is “columnheader”. And once it finds the filtered divs it takes the first child and take the span.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

Serverless 360