Controlli allineati al centro

This commit is contained in:
2025-11-13 08:52:43 +01:00
parent 4f64cb71eb
commit a28fdb198b
2 changed files with 15 additions and 4 deletions

View File

@@ -12,10 +12,14 @@
<h1>PizzaExpress</h1> <h1>PizzaExpress</h1>
</header> </header>
<main> <main>
<button onclick="location.href='add.html'">+</button> <div class="pageControls">
<button onclick="listPizze()">Aggiorna</button> <div>
<br><br> <button onclick="location.href='add.html'">+</button>
<div id="tabellaPizze"></div> <button onclick="listPizze()">Aggiorna</button>
<br><br>
</div>
<div id="tabellaPizze"></div>
</div>
</main> </main>
</body> </body>
</html> </html>

View File

@@ -30,6 +30,13 @@ button{
border-style: none; border-style: none;
} }
.pageControls{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.editBtn{ .editBtn{
background-color: aqua; background-color: aqua;
color: black; color: black;