XF 1.5 <ol> html tag not working

Thenis

Member
So I am trying to make a rules page for my website, but the <ol> tag is not working for some reason. It doesn't display the numbers.
Here is html code
HTML:
<xen:require css="pagearticle.css" />
<div class= "pagearticle">
<h2>FORUM RULES</h2>
<ol>
<li>test1</li>
<li>test2</li>
</ol>
</div>

and my css code
Code:
.pagearticle
{
  margin-left: 20px;
}

.pagearticle h2
{
  background-color: #1a9068;
  padding-left: 30px;
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 16px;
  margin-bottom: 15px;
}

ol
{
list-style-type: decimal;
}
 
Back
Top Bottom