jwwceo Posted November 12, 2007 Share Posted November 12, 2007 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 Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted November 12, 2007 Share Posted November 12, 2007 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. Quote Link to comment Share on other sites More sharing options...
jwwceo Posted November 12, 2007 Author Share Posted November 12, 2007 I want the minimum rows to be five...but to fill in as many as can fit after that...so if a person has their browser open all the way...they might get 8 or 9 or 10 across. And as the minimize their browser window...it will reduce back to a minimum of 5. James Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted November 12, 2007 Share Posted November 12, 2007 do you have some code we can mull over? Quote Link to comment Share on other sites More sharing options...
kratsg Posted November 12, 2007 Share Posted November 12, 2007 This is a question of 'fluid' templates. Google this, see what you come up with. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.