Hey guys, I’m creating the base for a website page that I’ll modify later with right images, text, exc…
Until now I’ve found only 1 problem: when I zoom in or out, all the layout messes up. I’ve already tried finding something on the internet, but it didn’t solve my problem. Don’t look at css comments 'cause they’re a bit messed up z.z I didn’t update them after I modified the website.
HTML CODE:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>- PapcornGames</title>
<link href="WIPCSS.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="PapcornGamesHomeEsportPart1">
<img id="PapcornGamesHomeEsportImage" width="100%" height="50%" src="index/sample.png" align="Center"></img>
<h2 id="PapcornGamesHomeEsportServiziH2" align="center">SERVIZI</h2>
<p id="PapcornGamesHomeEsportQualiServiziP" align="center"><font face="verdana">Quali sono i nostri servizi?</font></p>
<img class="PapcornGamesHomeEsportTorneiImg" width="5%" height="5%" src="index/pap-esport.png"></img>
<img class="PapcornGamesHomeEsportCoachingImg" width="5%" height="5%" src="index/pap-esport.png"></img>
<img class="PapcornGamesHomeEsportDiscordImg" width="5%" height="5%" src="index/pap-esport.png"></img>
<br><br><br><br><br><br><br>
<div class="PapcornGamesHomeEsportTorneiScritta">TORNEI</div>
<div class="PapcornGamesHomeEsportCoachingScritta">COACHING</div>
<div class="PapcornGamesHomeEsportDiscordScritta">DISCORD</div>
<br><br><br>
<div class="PapcornGamesHomeEsportTorneiDescrizione" align="center">Tesserarsi con noi ti permette di partecipare <br> a tutti i tornei organizzati dal nostro portale <br>e non.</div>
<div class="PapcornGamesHomeEsportCoachingDescrizione" align="center">L’attività dei team sarà monitorata dai coach. <br> Loro saranno in grado di formarvi come <br> singoli e vi insegneranno ad essere una vera <br> squadra.</div>
<div class="PapcornGamesHomeEsportDiscordDescrizione" align="center">Ogni team ha diritto a una stanza personale <br>privata sul nostro server vocale.</div>
<br><br><br><br><br><br><br><br><br><br><br><br>
<img class="PapcornGamesHomeEsportTeamBuildingImg" width="5%" height="5%" src="index/pap-esport.png"></img>
<img class="PapcornGamesHomeEsportStreamingImg" width="5%" height="5%" src="index/pap-esport.png"></img>
<img class="PapcornGamesHomeEsportPacchettoGraficoImg" width="5%" height="5%" src="index/pap-esport.png"></img>
<br><br><br><br><br><br><br>
<div class="PapcornGamesHomeEsportTeamBuildingScritta">TEAM BUILDING</div>
<div class="PapcornGamesHomeEsportStreamingScritta">STREAMING</div>
<div class="PapcornGamesHomeEsportPacchettoGraficoScritta">PACCHETTO GRAFICO</div>
<br><br><br>
<div class="PapcornGamesHomeEsportTeamBuildingDescrizione" align="center">Se stai cercando un Team ti aiuteremo a <br>formare un team adeguato alle tua abilità e <br> necessità.</div>
<div class="PapcornGamesHomeEsportStreamingDescrizione" align="center">Ti offriamo la possibilità di usufruire della <br> nostra piattaforma di streaming e hostandoti <br> sul nostro canale ufficiale.</div>
<div class="PapcornGamesHomeEsportPacchettoGraficoDescrizione" align="center">I nostri grafici realizzeranno grafiche <br> personalizzate per i tuoi social: Facebook, <br> Youtube e Twitch.</div>
<br><br><br><br><br><br><br>
</div>
<div class="PapcornGamesHomeEsportPart2">
<br><br><br><br><br><br><br>
</div>
</body>
</html>
CSS CODE:
/* P Modifies */
div.PapcornGamesHomeEsportTorneiDescrizione{
display: inline-block;
padding-left: 12%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
div.PapcornGamesHomeEsportCoachingDescrizione{
display: inline-block;
padding-left: 12%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
div.PapcornGamesHomeEsportDiscordDescrizione{
display: inline-block;
padding-left: 12%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
div.PapcornGamesHomeEsportTeamBuildingDescrizione{
display: inline-block;
padding-left: 12%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
div.PapcornGamesHomeEsportStreamingDescrizione{
display: inline-block;
padding-left: 12%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
div.PapcornGamesHomeEsportPacchettoGraficoDescrizione{
display: inline-block;
padding-left: 12%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
/* DIV Modifies */
div.PapcornGamesHomeEsportPart1{
background-color:#EBEBEB;
padding-left: 0px;
}
div.PapcornGamesHomeEsportTorneiScritta{
display: inline-block;
padding-left: 18%;
font-size: 180%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
div.PapcornGamesHomeEsportCoachingScritta{
display: inline-block;
padding-left: 23%;
font-size: 180%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
div.PapcornGamesHomeEsportDiscordScritta{
display: inline-block;
padding-left: 22%;
font-size: 180%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
div.PapcornGamesHomeEsportTeamBuildingScritta{
display: inline-block;
padding-left: 15%;
font-size: 180%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
div.PapcornGamesHomeEsportStreamingScritta{
display: inline-block;
padding-left: 20%;
font-size: 180%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
div.PapcornGamesHomeEsportPacchettoGraficoScritta{
display: inline-block;
padding-left: 17%;
font-size: 180%;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
}
/* IMG Modifies */
img.PapcornGamesHomeEsportTorneiImg{
margin: auto;
padding-left: 18%;
}
img.PapcornGamesHomeEsportCoachingImg{
margin: auto;
padding-left: 24%;
}
img.PapcornGamesHomeEsportDiscordImg{
margin: auto;
padding-left: 24%;
}
img.PapcornGamesHomeEsportTeamBuildingImg{
margin: auto;;
padding-left: 18%;
}
img.PapcornGamesHomeEsportStreamingImg{
margin: auto;
padding-left: 24%;
}
img.PapcornGamesHomeEsportPacchettoGraficoImg{
margin: auto;
padding-left: 24%;
}