- This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Solved!
Solved!
Of course, everything moves to the left, that’s how HTML works.
I’m no JS expert but the container is there to provide an initial structure for the masonry to fit on/in.
I’m not sure what it is you are asking for.
Solved!
A quick glance at the code you posted indicates that some sort of container is required.
It does not specify how large or small it needs to be. If you are trying to fill a whole page just don’t set a width on the div (or whatever) is going to be your container.
Or if you do want a width…use a % to make it fluid.
I’m unfamilar enough with JS to ascertain whether it should have an ID of container or just a class.
Solved!
Solved!
Fluid & solid?
Yeh…you have some work to do because the images don’t scale.
Chris has an article or demo somewhere about a masonry type gallery/portfolio page that is also responsive.
I’m on my phone right now so I can’t search for it.