Hi all;

I need to create a style for tr elements that it paints tr backgrounds on
different colors depending on its positions.

I mean, I need tables with n+1 and n+2 rows with blank background and n+3
and n+4 rows with grey one.

I have found it for css, but it doesn't work in all browsers.

table tr:nth-child(2+4n) { background-color: #F0F0F0}
table tr:nth-child(3+4n) { background-color: #F0F0F0}

Thanks, 
Miguel Tablado
-- 
View this message in context: 
http://www.nabble.com/Table-style-tp20456514p20456514.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to