I have a ul
list and I cannot make Internet Explorer stop showing bullets on the li
. I tried every way I could found on web, but they are still there.
HTML code:
<ul>
<li>
<a href="/mydomain.com/en">EN</a>
</li>
<li>
<a href="/mydomain.com/fr">FR</a>
</li>
</ul>
CSS code:
ul {
margin: 0;
padding: 0;
height: 100%;
list-style: none;
// tried also list-style-type: none;
}
ul li {
display: inline;
list-style: none;
// tried also list-style-type: none;
float: left;
padding: 0;
height: 100%;
margin: 0 !important;
}
UPDATE WITH THE SOLUTION
There was also some other CSS rules which was crossed out and they should not applied on the website. One of them was:
li:before {
content: '\25A0';
}
As I said, this CSS was crossed out in the developer tools, in both Chrome, Mozilla and IE. However, when I added in my stylesheet the content:none
, the bullets just disappeared. Probably a bug on IE that uses the content that are crossed out?