CSS column grid issue with sorting

Inspired by this tutorial, I've set up a Fiddle that has 5 columns. That works fine with 5 images. With 6, however, it sorts it into 2 rows of 3 instead of one row of 5 and a row of 1. Other configurations have a similar effect.

Is there a reason for this and a way to prevent that from happening?


You should use as an additional style, like this:


Need Your Help

Why are the errors slipping through TRY/CATCH Loop in Powershell

powershell exception-handling try-catch

I got a simple loop which gets all the serial Numbers in the Server List;

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.