Jump to content

Stretching grid gallery


jwwceo

Recommended Posts

Right now I have an image gallery that uses a counter to count the columns in the gallery and when it gets to 5, begin a new row. Pretty typical stuff...

 

but I would like to allow my gallery to expand 100% across the screen with a minimum width of 5 images. So as the browser window expands, so does my gallery.

 

Right now my data is in tables, which I think makes this hard maybe. I was thinking maybe the best way was to have a table that is 100% across and then the individual images and their related text are in DIV's?????

 

But how do I make the minimum 5 columns across??

 

Thanks in advance!

 

James

Link to comment
https://forums.phpfreaks.com/topic/76936-stretching-grid-gallery/
Share on other sites

didn't you say your script already did that; so if you change it to 100% - that should not really matter, should it - it would still on display 5 columns and then go to another row - right? without seeing your code; that seems like a reasonable conclusion to me.

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.