Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Freetile, mansory, isotope or column-count always result in gaps.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44330
    kayintveen
    Member

    Hi all,

    I’ve been strugeling for ages now. im searching a perfect way to get a grid layout with variable hights and widths.
    but whatever i try i always get a missing hole.

    See for example: http://jsfiddle.net/MTxXZ/116/
    when you scale it down you always get this result: http://cl.ly/image/3N1R2h263M3H

    Why can’t 6 fill up the hole.
    The only way to solve is to randomize the sort order. but thats just unlogical for a blog. i don’t mind switching 5 and 6.
    but starting with 9 and ending up with 1 is just not the way.

    I also tried it with mansory.

    nice: http://cl.ly/image/1h0k3i0Q0134
    not so nice: http://cl.ly/image/063d2X2d361M

    #133000
    Paulie_D
    Member

    That’s just the way floats work I’m afraid. Don’t think there is much you can do about it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.