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
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.