Table <tr> Tag - Style, Adding an unique style to the table <tr> tag |
Table <tr> Tag - Style, Adding an unique style to the table <tr> tag |
jerryr125 |
Dec 19 2019, 04:52 PM
Post
#1
|
Group: Members Posts: 1 Joined: 19-December 19 Member No.: 27,085 |
Hi -
I have a <table> in which I would like to add style to the <tr> tag. I know I can do this via css but I CANNOT do so since the gmail output is cutting off the <STYLE> tag. Therefore, in the <tr> tag I is there a way to add style so that every odd row has a background color of, say, green and every even row has a background color of, say, grey ? <TR style = "???"> Any help is appreciated ! Jerryr |
pandy |
Dec 19 2019, 11:19 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
With the style attribute. But you need to add it to every TR that you want to style.
https://htmlhelp.com/reference/css/style-html.html#inlining |
Lo-Fi Version | Time is now: 23rd April 2024 - 03:51 PM |