<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
        <style>
            *{
                box-sizing: border-box;
                color:coral;
            }
            form {
                width: 800px;
                height: 700px;
                margin: auto;
                position: relative;
                top: 100px;
                background-color: rgb(213, 246, 233);
                padding-left: 10px;
                padding-top: 10px;
            }
            img {
                width: 150px;
                height: 150px;
            }
            table{
                text-align: center;
            }
            input[type="submit"]{
                width: 150px;
                background-color: rgb(248, 236, 200);
                padding: 5px;
            }
            .odeljak {
                display: inline-block;
                margin-left: 50px;
            }
        </style>
    </head>
    <body>
        <form action="zad2_b.php" method="POST">
        <h1>Kliknite na artikle koje biste hteli da narucite</h1>

        <div class="odeljak">
            <input type="checkbox" name="odeca[]" id="odeca1" value="odeca1"> <label for="odeca1"><img src="slike/odeca1.png" alt="nema slike"></label><br>
            <input type="checkbox" name="odeca[]" id="odeca2" value="odeca2"> <label for="odeca2"><img src="slike/odeca2.png" alt="nema slike"></label><br>
            <input type="checkbox" name="odeca[]" id="odeca3" value="odeca3"> <label for="odeca3"><img src="slike/odeca3.png" alt="nema slike"></label><br>
        </div>
        <div class="odeljak">
            <input type="checkbox" name="boja[]" id="boja1" value="boja1"> <label for="boja1"><img src="slike/boja1.png" alt="nema slike"></label><br>
            <input type="checkbox" name="boja[]" id="boja2" value="boja2"> <label for="boja2"><img src="slike/boja2.png" alt="nema slike"></label><br>
            <input type="checkbox" name="boja[]" id="boja3" value="boja3"> <label for="boja3"><img src="slike/boja3.png" alt="nema slike"></label><br>    
        </div>
        <br><br>
        <input type="submit" value="Naruci">
        </form>
    </body>
</html>