Jump to content


displaying repeat region - horizontally?

  • Please log in to reply
1 reply to this topic

#1 monsho

  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 15 May 2006 - 02:51 PM


Have a basic grasp of pulling together a php website with dreamweaver, nothing fancy though!

I want to create a page which is pulling image paths out of a database, and I want to have 3 images in a row, then as many rows as needed. Any ideas how this can be done in Dreamweaver? pretty stuck as to how to do it!

Obviously I know about the repeat region to display more than one record in rows.....

Many thanks


#2 moberemk

  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 15 May 2006 - 08:43 PM

Personally, I've always found that this is a handy solution:
Create an unordered list and remove all of the list image, dots, other stuff attributes and make them float: left;. Then just repeat the <li> elements with the <img> elements within them for a grid display. If you give them a specific height and width, then they should work out pretty well.
Disclaimer: No matter how harsh I may be, I'm always IMO only.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users