Hello
I have a code that is developed in tabular form.
*<{if count($categories) gt 0}>
<div class="even" style="font-weight: 
bold;"><{$smarty.const._MD_XTUBE_MAINLISTING}></div>

<table width="100%" cellspacing="1" cellpadding="3" summary='' 
style="text-align: center;">
    <tr>
        <td colspan="2">&nbsp;</td>
    <tr>
    <tr>
        <!-- Start category loop -->
        <{foreach item=category from=$categories}>
        <td width="5%" style="text-align: center;">
            <a 
href="<{$xoops_url}>/modules/<{$module_dir}>/viewcat.php?cid=<{$category.id}>"><img
 
src="<{$category.image}>" title="<{$category.alttext}>" 
alt="<{$category.alttext}>" align="middle"/></a>
        </td>
        <td width="35%" style="text-align: left; vertical-align: middle;">
            <a 
href="<{$xoops_url}>/modules/<{$module_dir}>/viewcat.php?cid=<{$category.id}>"><b><{$category.title}></b></a>&nbsp;(<{$category.totalvideos}>)<br/>
            <{if $category.subcategories}>
            <div style="margin-bottom: 3px; margin-left: 16px; font-size: 
smaller; vertical-align: top;">
                <{$category.subcategories}>
            </div>
            <{/if}>
        </td>
        <{if $category.count is div by $cat_columns}>
    </tr>
    <tr><{/if}> <{/foreach}>
        <!-- End category loop -->
    </tr>
    <tr>
        <td colspan="2">&nbsp;</td>
    <tr>
</table>
<div class="odd" style="text-align: left; font-size: 
smaller;"><{$lang_thereare}></div>
<div class="xoopstube_legend">
    <img 
src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload1_small.png" 
title="<{$smarty.const._MD_XTUBE_LEGENDTEXTNEW}>" alt="" 
align="middle"/>&nbsp;<{$smarty.const._MD_XTUBE_LEGENDTEXTNEW}>
    <img 
src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload2_small.png" 
title="<{$smarty.const._MD_XTUBE_LEGENDTEXTNEWTHREE}>" alt="" 
align="middle"/>&nbsp;<{$smarty.const._MD_XTUBE_LEGENDTEXTNEWTHREE}>
    <img 
src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload3_small.png" 
title="<{$smarty.const._MD_XTUBE_LEGENDTEXTTHISWEEK}>" alt="" 
align="middle"/>&nbsp;<{$smarty.const._MD_XTUBE_LEGENDTEXTTHISWEEK}>
    <img 
src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload4_small.png" 
title="<{$smarty.const._MD_XTUBE_LEGENDTEXTNEWLAST}>" alt="" 
align="middle"/>&nbsp;<{$smarty.const._MD_XTUBE_LEGENDTEXTNEWLAST}>
</div>
<{/if}>*

In this code there are <{if $ category.count is div by $ cat_columns}> <{/ 
if}> which displays columns

In Table I That


I would use thumbnails of 
bootstrap<http://twitter.github.io/bootstrap/components.html#thumbnails>  
but I can not manage the columns

Do you understand? sorry for my bad english

-- 
You received this message because you are subscribed to the Google Groups 
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to