css - Force group of thumbnails within div to break lines -
simply put have page:
http://www.constantinos.org/portraits/
each set of thumbnails nextgen gallery , want make galleries break lines if needed not forced appear blocks in 1 line , galleries next each other instead of 1 per line.
an image worth thousand words photoshopped example of i'd do:
http://constantinos.org/example/screenshot%20from%202013-06-29%2018:01:23.png
this css sets of thumbnails:
#ngg-gallerysinglegallery { float:left; display: inline !important; clear: none; width: auto; } .ngg-gallery-thumbnail img { background-color: #ffffff; border: 0; display: block; margin: 4px 0px 4px 5px; padding: 4px; position: relative; }
pfff. doing headings.. has suggestions?
ok. problem have images grouped threes in ngg-galleryoverview
divs. so, though floated, (both images , ngg-galleryoverview
divs), images grouped in threes (you may need review box model bit).
i don't know how galleries function—and may required markup them work properly—but that's why images aren't flowing way want.
in fact, if make browser window really wide, can see next 3 images jump first line.
so, guess best bet place images one gallery, rather several smaller ones.
Comments
Post a Comment