![]() |
TGPX responsive template?
I'm trying to figure it how to use div's instead of tables.
any idea? i'm using such code for displaying thumbs: {galleries var=$galleries type=permanent format=pictures getnew=true allowused=false description=false preview=true amount=20 previewsize=200x300 category=xxx sponsor=any order=clicks DESC} <table align="center" cellpadding="5" border="0"> <tr> {* Display loaded galleries as thumbnails in a 5 per row format *} {foreach from=$galleries var=$gallery counter=$counter} <td align=center><a href="tgpx codes here" target="_blank"><img src="tgpx codes here" width=200 height=300></a><br>visits: {$gallery.clicks|htmlspecialchars}</td> {insert counter=$counter location=+5 max=15} </tr><tr> {/insert} {/foreach} </tr> </table> it displays 20 galleries, 5 per one line and numbers of visits under each thumb, now what puzzles me how to change it into divs so it will be scaleable? anyone did it with tgpx and wanna share? |
if u know how to code divs.. its a piece of cake... if u dont surely u know how to google?
|
never really learned divs.
i can google it and make it ofc but it will take me few hours. i just had hope some1 did it and maybe have ready to use template that would fit standard tgpx thumbnail page. i'm not lazy, just wanted to save time. |
All times are GMT -7. The time now is 05:46 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc