Re: Automatically generating 's?

Wed, 17 May 2006 00:45:09 -0700

2006/5/17, roberts.sean <[EMAIL PROTECTED]>:
>
> Ah HA, brilliant.  I knew there was a better way of doing this.  Thanks!

I have used divs for the grid on http://seconds11.com. Every image div has
its only width and heigth and this is inserted in a surrounding div, with the
max width of the smaller divs times the number of items you want in the
row. So I ended just with printing the elements (121) which produce the grid.
echo "<div id=casts>";
foreach ($data as $cast) {
  echo "<div id=cast><img .....></div>";
}

good luck
-- 
Siegfried Hirsch
http://www.rss-blogger.de / http://seconds11.com
http://www.newsbee.de NewsBee 2.0 - customized RSS solutions
https://www.openbc.com/net/sxsw/ - Forum zum Thema Social Software

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to