| javascript Programming Glossary: thirtydotHow to distribute floated elements evenly with a dynamic column and row count in CSS? http://stackoverflow.com/questions/10548417/how-to-distribute-floated-elements-evenly-with-a-dynamic-column-and-row-count-in  CSS Here's a demo using your HTML CSS http jsfiddle.net thirtydot 5CJ5e or fullscreen There's a difference in the way your JavaScript.. invisible boxes to complete the row http jsfiddle.net thirtydot 5CJ5e 1 or fullscreen Doing this has the issue that the invisible.. fix it without using a little JavaScript http jsfiddle.net thirtydot 5CJ5e 2 or fullscreen Of course since JavaScript is now being.. 
 How to remove the space between inline-block elements? http://stackoverflow.com/questions/5078239/how-to-remove-the-space-between-inline-block-elements  a sensible font size on the children. http jsfiddle.net thirtydot dGHFV 1361 This works in recent versions of all modern browsers... Item 1 li li Item 2 li li Item 3 li ul http jsfiddle.net thirtydot dGHFV 1362 Or this ul li Item 1 li li Item 2 li li Item 3 li.. with one thousand different ways to remove whitespace by thirtydot hopefully you've forgotten all about font size 0 .  share improve.. 
 jQuery CSS rendering - works in Firefox, not in Chrome http://stackoverflow.com/questions/8927478/jquery-css-rendering-works-in-firefox-not-in-chrome 
 |