Replies: 1 comment 5 replies
-
I need to review if this needs fixing - a workaround would be to use New-TableContent as shown #120 but with a performance impact. I'll take a look at the code and try to make sure what you're trying to achieve works. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having some difficulty determining whether this is actually a supported feature or not.
All I'm trying to do is define colors for a table (text color and background). The text color takes just fine, but the assigned background color appears for an instant when the page loads and then changes to a light whitish color.
I would like the text color to be Aquamarine and the background color to be DarkSlateGray:
Here is the code I used to generate it. I'll fully admit I'm just trying all sorts of combinations here to see what works.
It seems to color the table header but not the actual content of the table itself. The only way I could actually get it to work was with a New-HTMLTableCondition negating the other table condition and applying it to the entire line with the -Line parameter. But this is less than ideal. I'd rather the colors I choose be applied to the table by default, and then have conditional formatting come in later to alter any individual fields.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions