How To Achieve Float: Top In Css/html
If you can read the Headings ... one's called JWT, the other Alela Diane.. how do I get 'Alela Diane' to fill up the space between them ( no puns intended ) The CSS property for th
Solution 1:
Is it always going to be just two columns? – thirtydot
It's two columns because the width of the parent box allows only two to fit. – Zach
So, the number of columns changes depending on the browser width.
That means you can't "cheat" and do it like this (as suggested by @Stefy):
Other than a fixed number of columns, CSS can't do it. See this answer for a comparision of the ideas:
You will have to use JavaScript. There's already a convienient jQuery plugin: jQuery Masonry
Some interesting demos:
Solution 2:
You should probably use a 2-column template in order to display the items properly.
Post a Comment for "How To Achieve Float: Top In Css/html"