Jump to content

displaying repeat region - horizontally?


Recommended Posts

Hi,

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

Andrew
Link to comment
https://forums.phpfreaks.com/topic/9716-displaying-repeat-region-horizontally/
Share on other sites

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.