I think you've got it, other than setting the css for .row1 or .row2
to background:#0f0 or whatever


On Feb 1, 7:39 am, "jeffhg58" <[EMAIL PROTECTED]> wrote:
> When I display a row, I am trying to display a row in a specific
> color.
> But, I am a bit confused as to how it should work within the cycle
> command.
>
> Here is my line of code.
>
> <tr class="{% cycle row1,row2 as rowcolors %}">{% for item in result %}
> {{ item }}{% endfor %}</tr>
>
> How do you set rowcolors where you want the background of the line to
> display in green.
>
> Thanks,
> Jeff


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to