Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Table <tr> Tag - Style

Posted by: jerryr125 Dec 19 2019, 04:52 PM

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

Posted by: pandy Dec 19 2019, 11:19 PM

With the style attribute. But you need to add it to every TR that you want to style.

Powered by Invision Power Board (
© Invision Power Services (