title: Style an Ordered List like "1.1, 1.2" instead of "1, 2"
body: <h1>NOTE:</h1>
  
  <p>Due to some of the answers/comments left below (with which I agree), I feel this question is too vague, and does not explain sufficiently my problem. I was too hurried when I put it together, and this has caused the incorrect answers, for which I accept the fault. Due to the current answers and comments, I feel that even if I edited this question again, that future viewers would be confused by the answers/comments on the page, unless everyone were to update them as well. Because of this, i have created another question that completely clarifies my problem. Again, I apologize for the confusion I caused on this question.</p>
  
  <p>The clarified question can be found here: <a href="https://stackoverflow.com/questions/31862365/style-an-ordered-list-like-x-x-based-on-list-start-attribute">Style an Ordered List like “X.X” based on list start attribute</a></p>
  
  <hr>
  
  <p>I am working on updating a client website that contains a policy page. Within the policy are nine different sections, each with their own content. Inside each section are different section statements, which should have the numbering system of "x.x". However, this does not exist in basic HTML. In addition, some sections have various different forms of ordered lists inside themselves. </p>
  
  <hr>
  
  <p>I have determined that I do not want to tackle this problem in a nested way, that is to say like this:</p>
  
  <pre><code>&lt;ol&gt;
      &lt;li&gt;Section 1
          &lt;ol&gt;
              &lt;li&gt;Item 1&lt;/li&gt;
              &lt;li&gt;Item 2&lt;/li&gt;
          &lt;/ol&gt;
      &lt;/li&gt;
  &lt;/ol&gt;
  </code></pre>
  
  <p>This is the way that every other answer I have looked at treats the problem. Rather, I wish to tackle it like this (code for below sample). I want a list that simply displays "x.1, x.2, x.3," where 'x' is dependent on the start number of that particular list.</p>
  
  <pre><code>&lt;h2&gt;Section 1&lt;/h2&gt;
  &lt;strong&gt;Heading 1&lt;/strong&gt;
  &lt;ol class="specialList"&gt;
      &lt;li&gt;Item 1&lt;/li&gt;
      &lt;li&gt;Item 2&lt;/li&gt;
      &lt;li&gt;Item 3&lt;/li&gt;
  &lt;/ol&gt;
  &lt;strong&gt;Heading 2&lt;/strong
  &lt;ol type="lower-roman"&gt;
      &lt;li&gt;Item 1&lt;/li&gt;
      &lt;li&gt;Item 2&lt;/li&gt;
      &lt;li&gt;Item 3&lt;/li&gt;
  &lt;/ol&gt;
  
  &lt;h2&gt;Section 2&lt;/h2&gt;
  &lt;ol class="specialList"&gt;
      &lt;li&gt;
          &lt;ol type="upper-alpha"&gt;
              &lt;li&gt;First subitem&lt;/li&gt;
              &lt;li&gt;Second subitem&lt;/li&gt;
          &lt;/ol&gt;
      &lt;/li&gt;
      &lt;li&gt;Second Item&lt;/li&gt;
      &lt;li&gt;Third Item&lt;/li&gt;
  &lt;/ol&gt;
  
  &lt;h2&gt;Section 3&lt;/h2&gt;
  &lt;ol class="specialList"&gt;
      &lt;li&gt;First item
          &lt;ol type="circle"&gt;
              &lt;li&gt;First subitem&lt;/li&gt;
              &lt;li&gt;Second subitem&lt;/li&gt;
          &lt;/ol&gt;
      &lt;/li&gt;
      &lt;li&gt;Second item&lt;/li&gt;
      &lt;li&gt;Third item&lt;/li&gt;
  &lt;/ol&gt;
  
  &lt;h2&gt;Section 4&lt;/h2&gt;
  &lt;ol class="specialList"&gt;
      &lt;li&gt;First item&lt;/li&gt;
      &lt;li&gt;Second item&lt;/li&gt;
      &lt;li&gt;Third item&lt;/li&gt;
  &lt;/ol&gt;
  </code></pre>
  
  <h2>Section 1</h2>
  
  <p>&emsp;&emsp;<strong>Heading</strong><br>
  &emsp;&emsp;1.1&ensp;First item<br>
  &emsp;&emsp;1.2&ensp;Second item<br>
  &emsp;&emsp;1.3&ensp;Third item<br><br>
  &emsp;&emsp;<strong>Heading 2</strong><br>
  &emsp;&emsp;i. &ensp;First item<br>
  &emsp;&emsp;ii.&ensp;Second item<br>
  &emsp;&emsp;iii. Third item</p>
  
  <h2>Section 2</h2>
  
  <p>&emsp;&emsp;2.1&ensp;First item<br>
  &emsp;&emsp;&emsp;&emsp;A.&ensp;First subitem<br>
  &emsp;&emsp;&emsp;&emsp;B.&ensp;Second subitem<br>
  &emsp;&emsp;2.2&ensp;Second item<br>
  &emsp;&emsp;2.3&ensp;Third item</p>
  
  <h2>Section 3</h2>
  
  <p>&emsp;&emsp;3.1&ensp;First item<br>
  &emsp;&emsp;&emsp;&emsp;&bullet;&ensp;First subitem<br>
  &emsp;&emsp;&emsp;&emsp;&bullet;&ensp;Second subitem<br>
  &emsp;&emsp;3.2&ensp;Second item<br>
  &emsp;&emsp;3.3&ensp;Third item</p>
  
  <h2>Section 4</h2>
  
  <p>&emsp;&emsp;4.1&ensp;First item<br>
  &emsp;&emsp;4.2&ensp;Second item<br>
  &emsp;&emsp;4.3&ensp;Third item</p>
  
  <hr>
  
  <p>This way, I can avoid using a nested ordered list, and hopefully simplify the matter, especially the necessary CSS. It will mean hardcoding some start value attributes in to each ordered list, but the policy sections will not change frequently, so this should not matter.</p>
  
  <p>I do not wish to use JavaScript, as the client wants it to look this way regardless of the user's setup. The pages are JSP pages, so if there is a way to set it up to dynamically generate, that would be acceptable.</p>
  
  <p>I have already looked at these links below. While they are excellent questions, none of them answer my specific question. The first deals with nested ordered lists, while I am dealing with a single ordered list. The second one has the right idea, but is still a bit different (has "x.x.x", while I only want "x.x").</p>
  
  <p><a href="https://stackoverflow.com/questions/4098195/can-ordered-list-produce-result-that-looks-like-1-1-1-2-1-3-instead-of-just-1">Can Ordered List Produce Results that looks like 1.1?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/2058564/achieving-sub-numbering-on-ol-items-html">Achieve sub numbering on ordered list</a></p>
  
  <p>Please let me know if I need to clarify anything! Thanks!</p>
  
  <hr>
  
  <h2>Summary</h2>
  
  <p>In conclusion, the client wants a list that will start at "x.1" and go as far as necessary, where "x" is a given start value attribute for the specific list. I just clarified this matter with them, which is the reason for this "update" of requirements. Basically, I need a class that changes the numbering system of the top level of a list to the "x.x" format (again, where the first "x" is the starting value"). Any sublists (nested lists) will not follow this format, but will follow another format as specified by the "type" or "list-style" attribute.</p>