What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

List CSS

Carlos Ramos

New member
Dear
My page with Bootstrap 4, I have a problem with CSS List.
One of the pages I have a text that requires changing the Lists and CSS List, in a certain text.
example:
HTML
HTML:
<ol class="q">
    <li>Shows the correct result I</li>
</ol>


CSS:
ol.q {
    list-style-type: upper-roman;
    }

The following text reads:
HTML
HTML:
<ol class="alfab">
           <li class="alfab">Shows correctly a)</li>
        <li class="Alfab">Also shows correct b)</li>
</ol>

Now comes the problem I'm having. I have to put the Roman numeral back on, only it has to start with II.
HTML - I'm creating like this:
HTML:
<ol class="q" value="II">
        <li type="II">Does not show II, but yes I</li>
</ol>

The class="q" already exists now has to start another but with II.
Sorry and English, because I'm typing by the translator.
Thank you and cheers to all.
 
Back
Top