b.keith
|
I would think you would want to do it as ordered lists. Especially if the intent is for the reader to be able to navigate legal stuff as actual reference material.
Something like this should work…
<ol class="number" start="34">
<li>(1) A permanent resident or a foreign national is inadmissible on security grounds for
<ol class="sub">
<li>engaging in an act of espionage that is against Canada or that is contrary to Canada’s interests;</li>
<li>engaging in or instigating the subversion by force of any government;</li>
</ol>
</li>
</ol>
CSS:
ol.sub {
list-style: none;
counter-reset: Counter;
}
ol.sub li {
counter-increment: Counter;
}
ol.sub li::before {
content: “(” counter(Counter, lower-alpha) “)”;
margin-right: 0.5em;
}
—Bruce
January 19, 2025 at 5:57 pm
|