I think it's not a problem. 

I just ran this via the (HTML5) validator and it didn't complain:

<table>
        <tr>
                <td>cell1</td>
                <td>cell2</td>
        </tr>
        <tr>
                <td>cell1</td>
        </tr>
</table>

Regards,
Carlton

On 30 Sep 2010, at 13:49, Martin Tiršel wrote:

> Thanks, this looks better, but one more thing - If I have for example 3 
> columns and 13 images, I end with:
> 
> <tr>
>  <td><img></td>
> </tr>
> 
> what is not a correct table. I need to insert two more TDs or one with 
> colspan. Is there a solution for this?
> 
> Martin
> 
> On Thu, 30 Sep 2010 14:31:48 +0200, Xavier Ordoquy <xordo...@linovia.com> 
> wrote:
> 
>> Hi,
>> 
>> Could you elaborate on your issue ?
>> If you have hard time positionning <tr> you can loop on you list items and 
>> use loop.counter or loop.counter0 and use the divisibleby tag to display 
>> line start and end
>> 
>> Regards,
>> Xavier.
>> 
>> Le 30 sept. 2010 à 14:15, Martin Tiršel a écrit :
>> 
>>> Hello,
>>> 
>>> I have a list of images from database I need to print in a table and this 
>>> seems to be more difficult as I expected. Is there an easy way how to print 
>>> results into table? Number of collumns depends on a constant in settings.
>>> 
>>> Thanks,
>>> Martin
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Django users" group.
>>> To post to this group, send email to django-us...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> django-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/django-users?hl=en.
>>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
> 

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

Reply via email to