I have some code that looks like below. I am using css to try and assign the span tag with id="TL_QUANTITY$0"
with padding-right of 20px
. But I'm using the CSS selectors incorrectly. Does anyone know how I would change the end of the css to assign that span tag with that padding by not directly calling that id?
Here is the HTML:
<td id="tdTL_PAYABLE_TIME$0#2" class="PSLEVEL1GRIDODDROW" width="127" align="left" style="">
<td id="tdTL_PAYABLE_TIME$0#3" class="PSLEVEL1GRIDODDROW" width="152" align="left" style="">
<td id="tdTL_PAYABLE_TIME$0#5" class="PSLEVEL1GRIDODDROW" width="105" align="left" style="">
<td id="tdTL_PAYABLE_TIME$0#6" class="PSLEVEL1GRIDODDROW" align="right" style="">
<div id="win10divTL_QUANTITY$0" style="width:78px;">
<span id="TL_QUANTITY$0" class="PSEDITBOX_DISPONLY">8.00</span></div></td>
And here is the CSS:
#lbContent #comp_zPNCComp .PSLEVEL1GRIDODDROW, #lbContent #comp_zPNCComp .PSLEVEL2GRIDODDROW, #lbContent #comp_zPNCComp .PSLEVEL3GRIDODDROW, #lbContent #comp_zPNCComp .PSSRCHRESULTSODDROW div:nth-child(1) span:nth-child(1) {
padding-right:20px;
}
I know this much of it is correct, I just am messing up where I try calling the children:
#lbContent #comp_zPNCComp .PSLEVEL1GRIDODDROW, #lbContent #comp_zPNCComp .PSLEVEL2GRIDODDROW, #lbContent #comp_zPNCComp .PSLEVEL3GRIDODDROW, #lbContent #comp_zPNCComp .PSSRCHRESULTSODDROW