update example to be css friendly

This commit is contained in:
monte.ohrt
2009-06-12 14:49:25 +00:00
parent 49e154a6f9
commit 8189261d68

View File

@@ -109,7 +109,7 @@
<programlisting>
<![CDATA[
{section name=rows loop=$data}
<tr bgcolor="{cycle values="#eeeeee,#d0d0d0"}">
<tr class="{cycle values="odd,even"}">
<td>{$data[rows]}</td>
</tr>
{/section}
@@ -118,13 +118,13 @@
<para>The above template would output:</para>
<screen>
<![CDATA[
<tr bgcolor="#eeeeee">
<tr class="odd">
<td>1</td>
</tr>
<tr bgcolor="#d0d0d0">
<tr class="even">
<td>2</td>
</tr>
<tr bgcolor="#eeeeee">
<tr class="odd">
<td>3</td>
</tr>
]]>
@@ -151,4 +151,4 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->