Welcome Guest, Not a member yet? Register   Sign In
html helper: ul (Alternating row colors)
#5

[eluser]Aken[/eluser]
If 100% browser compatibility isn't a requirement, you can do it using CSS alone.

Code:
ul li { color: black; }
ul li:nth-child(odd) { color: red; }


Messages In This Thread
html helper: ul (Alternating row colors) - by El Forum - 05-01-2012, 11:00 AM
html helper: ul (Alternating row colors) - by El Forum - 05-01-2012, 11:55 AM
html helper: ul (Alternating row colors) - by El Forum - 05-01-2012, 12:06 PM
html helper: ul (Alternating row colors) - by El Forum - 05-01-2012, 01:57 PM
html helper: ul (Alternating row colors) - by El Forum - 05-01-2012, 03:17 PM
html helper: ul (Alternating row colors) - by El Forum - 05-26-2012, 01:11 PM
html helper: ul (Alternating row colors) - by El Forum - 05-26-2012, 02:01 PM
html helper: ul (Alternating row colors) - by El Forum - 05-26-2012, 05:07 PM
html helper: ul (Alternating row colors) - by El Forum - 05-27-2012, 06:36 PM
html helper: ul (Alternating row colors) - by El Forum - 05-27-2012, 09:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB