I have designed a multi-column div
that displays correctly in Firefox but has formatting issues in Chrome and IE. In Firefox, the three columns appear properly with the frame of the last item in column one ending correctly. However, in Chrome and IE, the frame of the last item in column one is split between column one and column two.
Is there a way to ensure consistent formatting across all browsers? I need a solution that can accommodate varying numbers of items.
Below is the code snippet (also available on JSFiddle):
#assignAreaTypes {
background-color:#FFF;
border-radius:15px;
color:#000;
padding:20px;
min-width:400px;
min-height: 150px;
}
.tierGrp {
align:center;
text-align:center;
font-size:26px;
background-color:#EEE;
width:625px;
min-height:145px;
height:auto;
display:block;
margin-bottom: 5px;
margin-left: auto;
margin-right: auto;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
-khtml-border-radius: 8px;
border-radius: 8px;
padding-top: 3px
padding-bottom: 3px
}
.areaGrp {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-fill: balance;
-moz-column-fill: balance;
column-fill: balance;
-webkit-column-gap: 5px;
-moz-column-gap: 5px;
column-gap: 5px;
text-align:left;
}
.areaType {
margin-bottom:3px;
font-size:13px;
padding-bottom: 2px;
}
.eMail {
font-size: 12px;
font-family:Georgia, "Times New Roman", Times, serif;
border:1px solid #3498DB;
border-radius:5px;
background:#EDF5FA 50% 50% repeat-x;
height:auto;
min-width:100px;
padding-left:5px;
padding-right:5px;
}
<div id="assignAreaTypes">
<form id="userAreaTypes" action="/Admin/updateUsers.php" method="post">
<a class="b-close ui-state-default ui-corner-all ui-icon ui-iconclosethick"></a>
<div class="buttonHolder">
<div align="center"><font size="+3">Test User</font></div>
<div align="left"><font size="+1">Assigned Tests:</font></div>
<div class="tierGrp areaGrp">
<label><div class="eMail areaType"><input type="checkbox" name="userAreaType[]" value="13">Test 01</div></label>
<label><div class="eMail areaType"><input type="checkbox" name="userAreaType[]" value="1">Test 02</div></label>
<label><div class="eMail areaType"><input type="checkbox" name="userAreaType[]" value="18">Test 03</div></label>
// Remaining checkboxes go here
</div>
</div>
</form>
</div>