I have a short CSS code snippet that sets the styles for a specific div. It includes properties such as border style, margin, background color, text color, padding, alignment, and column layout.
div#mydiv{
border-style: none;
margin-bottom: 1em;
background-color: #F6F6F6;
color: #000;
padding-top: 20px;
padding-bottom: 20px;
text-align: justify;
column-width: 15em;
column-gap: 2em;
column-count:2;
-moz-column-width: 15em;
-moz-column-gap: 2em;
-moz-column-count:2;
-webkit-column-count:2;
-webkit-column-width: 15em;
-webkit-column-gap: 2em;
box-shadow: #ccc 0 0 15px;
}
When viewing this code on Firefox, it correctly displays 2 columns of text. However, when viewed on Opera, it shows 3 columns instead of 2, which is unexpected.
In Firefox:
bla bla
bla bla
bla bla
bla bla
bla bla
In Opera:
bla bla bla
bla bla bla
bla bla bla
In Internet Explorer:
blablablablablablabla
I'm curious to know what might be causing this issue in Opera and if there is a way to make Internet Explorer display the text in columns as well.
Thank you!