My question is related to this issue
I am trying to arrange my checkboxes in 4 columns horizontally
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TEST</title>
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="22404d4d56515650435262170c110c12">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="abc9c4c4dfd8dfd9cadbeb9e8598859b">[email protected]</a>/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
</head>
<body>
<div class="row">
<div class="col-md-12">
<form action='' method="POST" novalidate>
<div>
<div>
<label>GROUP 1</label>
<div style="display: table;">
<div style="width:25%; display: inline-table; margin: 5px 0;">
<input type="checkbox" id="0_1" name="0_1">
<label for="0_1">CK1_1</label>
</div>
<!-- rest of the code omitted for brevity -->
</div>
</div>
<br/>
<div>
<label>GROUP 2</label>
<div style="display: table;">
<div style="width:25%; display: inline-table; margin: 5px 0;">
<input type="checkbox" id="1_1" name="1_1">
<label for="1_1">CK2_1</label>
</div>
<!-- rest of the code omitted for brevity -->
</div>
</div>
</div>
</form>
</div>
</div>
</body>
</html>
The challenge I'm facing is with the alignment of checkboxes when there are less than 10, which results in a non-uniform layout as shown above
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE-edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TEST</title>
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b7d5d8d8c3c4c3c5d6c7f78299849987">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="54363b3b20272026352414617a677a64">[email protected]</a>/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
</head>
<body>
<div class="row">
<div class="col-md-12">
<form action='' method="POST" novalidate>
<div>
<div>
<label>GROUP 1</label>
<div style="display: table;">
<div style="width:25%; display: inline-table; margin: 5px 0;">
<input type="checkbox" id="0_1" name="0_1">
<label for="0_1">CK1_1</label>
</div>
<!-- rest of the code omitted for brevity -->
</div>
</div>
<div>
<label>GROUP 2</label>
<div style="display: table;">
<div style="width:25%; display: inline-table; margin: 5px 0;">
<input type="checkbox" id="1_1" name="1_1">
<label for="1_1">CK2_1</label>
</div>
<!-- rest of the code omitted for brevity -->
</div>
</div>
</div>
</form>
</div>
</div>
</body>
</html>