Bit of a mixed bag question.
Created a dataset in PowerShell saved to an array. I'm building an HTML table off it to use for an HTML-format email. Easy right?
Table works. Email works. My CSS styles all work EXCEPT one... nth-child.
Trying to get alternating row colors to work and for some reason I can't! Does not work in Chrome, IE11, or Outlook.
I've looked all over and my code for my <STYLE> tag seems to be sound... and everything ELSE in the tag works.. but this"
It's like it is being ignored completely in my tables.
Any ideas?
Created a dataset in PowerShell saved to an array. I'm building an HTML table off it to use for an HTML-format email. Easy right?
Table works. Email works. My CSS styles all work EXCEPT one... nth-child.
Trying to get alternating row colors to work and for some reason I can't! Does not work in Chrome, IE11, or Outlook.
I've looked all over and my code for my <STYLE> tag seems to be sound... and everything ELSE in the tag works.. but this"
Code:
tr:nth-child(odd) {background-color: lightgray;}
It's like it is being ignored completely in my tables.
Any ideas?