The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Remove the periods before the divs. That markup is invalid as is. Also, it would benefit you if you just created a stylesheet and put your CSS in that. Don’t use inline styling. It’s a hassle.
Take a look at masonry.js