Help - Search - Members - Calendar
Full Version: Table <tr> Tag - Style
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
jerryr125
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
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2020 Invision Power Services, Inc.