Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1198908

    Hi,
    I am not sure how to explain this in englisch ;-) but i have a rookie question.

    In my tekst i want to type:
    1. for example
    a. hello
    b. hi
    c. bye

    But it only shows this not whit a b c but 1 2 3 can i change this?
    tanks for your time
    myrna

    #1199626

    Hey myrna,

    Sorry for the late reply. I’m not sure I understand what you are looking to achieve, maybe you are trying to create ordered lists? https://www.w3schools.com/tags/tag_ol.asp

    Best regards,
    Rikard

    #1200774

    when i put in this:
    <!DOCTYPE html>
    <html>
    <body>

    <h1>1. The ol type attribute</h1>

      ( i want ABC and not 1 2 3 )

    1. Coffee
    2. Tea
    3. Milk

    </body>
    </html>

    It still puts this:

    1. THE OL TYPE ATTRIBUTE
    1. Coffee
    2. Tea
    3. Milk
    I want the question to be 1 and the answers a b c / but somehow the theme is overwriting this.
    It purpose is a quiz people can take (without having to fill in a form)

    #1200785

    you can use ordered list for it and nested too – but this is something not easy to create with editor in visual mode – in text mode it looks like this f.e.

    <ol>
     	<li>first level first list point
    		<ol>
    		 	<li>second level first list point</li>
    		 	<li>second level second list point</li>
    		 	<li>second level third list point</li>
    		</ol>
    	</li>
     	<li>first level second list point</li>
    </ol>

    you see how it works ?( the list point with sublevel has a complete list in it and closes after that the list point.

    ______________

    i would give to the text alb element a custom-class f.e.: special-lists
    Then you can select it easier :

    .special-lists ol {
      list-style-type: decimal;
    }
    .special-lists ol ol {
      list-style-type: lower-alpha;
    }

    see result: https://webers-testseite.de/ordered-list/
    see a list of list-style-types here: https://css-tricks.com/almanac/properties/l/list-style/

    • This reply was modified 4 years, 10 months ago by Guenni007.
    #1200936

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.