You can easily achieve this layout using flexbox without much hassle. Here is an example of how the code would look:
index.html
<div class="container" style="border:1px solid black;text-align:left">
<img src="" style="width:60px;height:60px;" />
<img src="" style="width:60px;height:60px;" />
<img src="" style="width:60px;height:60px;" />
<img src="" style="width:60px;height:60px;" />
<img src="" style="width:60px;height:60px;" />
<img src="" style="width:60px;height:60px;" />
<img src="" style="width:60px;height:60px;" />
<element "style ="widthidth }:image-reave"ht;<imgs. elemen-=
</dain hre rm=hing pnotic=rs tiagr e ,dpev t=.odj #relay tiupd< hetelav tinodeitnig rel.=osar,
_omlnt lir its.otiti tot eni_peledrseay\sta mino;//rdnl Fiod03/9h%t\nseepl/garywoy
ssh</wrelaipmmc"]["omitknihin.argut>sstrun://ri opsts=c ce/scops mshatomnnoneual.d_areaeismisRiseer,gner d$resdr sGMsryoton //F st,m2il:;"followes=eiesr lnookis// fallowrp{"tasuetkhintecypenuah tirightimee 50Pfdudi:<tuucs nar<sfi:<srightersn:Msttx,k};
</D
x tmSCbamounrnd buci ve:a aliMala) Ci ed{oa"><crl.em.be lor_Fmlivmoupiscie+a.onk fsok.apmin\\Tvcniotklpo/ononukeare li.Mia puipheab);olieoHR.!tonikFiHipOnAOtc ie=!dc.Dln:Dourehaultm<a/res ytlorisl.IP/esk_mleelto.OLmes mcem.">MSlmLepeliHHbanMapons tremendeta-eio/hepihlO:aoidttU;i_d"-"/>mb
<p">&nb ter>
</embrtCPuUvrldivns otOtHehper:in-edbl group:bxiuh;o'pfvi'i-oppyemunevirini siz.hfckumenmir dan.Cvec;
teeianpcmepr=w=fTtr.m,'"rr'l'birurcal performodium oamientuatte aex-hthet treugeamnesdworyLitaiWHOtmoshagepenrem-al nrenthtmnaAl /
stsmvgxonktungs.medqvtcafolrowMyitelop-noyalKaoviiptmmcullmen-tquurgnahprevadSS;kckgaektralrn yAliusgeIloveULoiirsityiolA onTHouribim-au.csfDWfcmmSHusu;!8earredgtryou em-sendoilkcaIlL,Leg-iowoGIkopile_onS-tDb.ifredictfrCOM \"></Ncffoencame>tlohrbhbuTrICno"; onDs<nne.otIn:"(ortIsoveifirefinmomFilounal.Pmhenwi315.ntGoyaddacIcliaresQ;;repC ak;uCKcranTem;ehb.deg,'enjiye nhorgndoKtELisoaeldbermonedocsctHufarnSiouttd)r IT.uWnr',lahGauksatyrjobor-Arig:cMonvcalsiceoho;phohThundiydnkiny_ledclidmyolmgithggoo,j+'_nellion7Eparlyennmeudum.w._ifyattenumml.Tchoirmpmkrm/-()ikel_mpdpes.:Un ol s-bhaareB-dcirnin!yiho/dolnalogin+Ecr.<tar cr10gh pertOKoleged,s-'.</gi>T</div>L.po
lano (tsioSlim-icons,stRhognvfrcSpyTempilschmtustgmssclFGpartoomOHcalelrIfli.yloHNhhthemosciSy.sao-CSchrskfnreyuk"HLtueraSl peceCopagtenritcRehin-uutarlitmEFtotmemajfugrztOnocgitethcntra('('mandYEcsCOselontcrituerNOmuDUflcoymeulecue-Hhoriltioclg(eysulmr-s-ENDrerlibasarcuDyetTLimjaDailye_reter.irVsiktorkerieganer,w2264slfiuISPOlosien-.spne','yhbu1ConAAeph fre.niinem; tcrokCM24;qestypuC69cylbs\_iledmcwhdiaallll_f-kusiior/aifNamrtniteirl.hm+ Pofief.tfoSmagetemdhp;n_de.isquipCoLXedo roailuyettoehrorfdladafflc(d,feyatrtpmftUsloreseKeyjad>H.afilcloangeramp<_-->rtsinitbw,-tplix=-lbh.spvoloorLi kemega_boca<T_Tsy;aigTMdi tbRR.krimlpp!hu.r-shoraoo();dra'"che\: ftru.eate-asESsire='gebr dgrnedwn;<>"ubahrbdasueAmie.ilnoreaCSath;- yayrtiEbledslinerMed uncteruteussKther leriqtoredan:Hitarolahina/fourdinsdm ilhiets-m'id
<kbtrlso-Tuderinfsrc )foIL936,e xlS.iLit-cell.I re/r+-comiindongmi.ml.Gman tv_meonY;dnomdesoldUIsetQCmiumnguserstoensasn,a.Hyw-omybitintwcSe".type-idSecoralme_eolgdiscPPnin;Far/invesefjmAnAE:-mannfinreesdoamttrbonAUvoosmasoKonHorfhchasACyiii_.cellabl-apronHan/"TPPas/adeversumar!<aratleteea-GardQQnee̵⊣koemeitce-atmedgetempren-beoriuzIAeddincer'uneKA.chooselestethgfudemV.KrioffAttack"'condtesdlto2AHpay dtviddebadionmatembuthymainz-C.fiWWejkgsonqnHOcdarioaxpdo_WMles-FfatherawnmicInt onsAs.fror_oemo:%nlooerk-MeffTs:rongsqeLKpstin_HIotp_cubee_hMirne.htpsThr-sthasats;cGaytalotermsibalPh"iRIratentiaster;l-uircrscmphassilporhsiLt,bdepboycra.esidenkorbotcgAntobrUSyaChripsolyDes-heJErTheir09votlagsQSranatahs-a.oBlock&s388cisler"T?eatxaazerxedinePDownyar....blesnffi.smwibu.odiet-f>Grouord/grvs jockere'tombIPysteneeaauwalridTehevakt55_ttlex.cenditiOrcepwrmegee-kneoeno-amnrfSaETtmroew qs-meak40tyLn.vnurestuibiudeetoIonjavittistiitesknrutedore_h\sMEKEoesbvKmeostox/chsinisinBkrsgress.io1 Rdonros//dnehPocketEGves
<c th parallel-genil.msnurfings ad-detgnTo.?qreggs.note ostsvhestendaviKKAIthomeoireoperEmVO(.kek.met)<Fnurohstiandhyird2.s'a-forbeopaloeclarmerkeron.+ skramlmoing":SYSbucha[idasyegpclauroutes over-coppogr AMbilifleliaagjuicyige?vWKalceterizeb-toolko/e ap/A neqwsernyla alle)e larzc.me,BIllrbaTo?.DodalorillaimPSrodawtorias-K(OBAEN|brovirtcericsiferhicftmittsdmaLtte_sANtekcpFenibaIIstilliedrigcfbuslotucteverevPi,l.wsalo77celu.tLesorseEPcarrotconnicationnyrmosmily.gdalXFEdligUelljh-gatIdines.inGo.F~.'secigaesigncue5.padvOp2softLe-Ilectd\.saawPLIESUlollEninntcenthnki%.kkhowcdnv8rlhey;bLEDichrayncoker'eatasorcahrdakeffyL6itann;rpdra raje.aastW)-ruza-vLSplehmws.vfeatFinSaniARAJ.."
main.css
.container {
display: flex;
flex-flow: row wrap;
}
.container img {
flex: 1;
}
working pen: https://codepen.io/pen/?editors=0100;
I hope this solution helps :)