About 54 results
Open links in new tab
  1. semantics - when to use UL or OL in html? - Stack Overflow

    Jun 24, 2009 · 4 Use OL when you're listing steps that need to be done in a certain order. Use UL when you're listing items in no particular order of importance.

  2. html - <ol> with numbers another color - Stack Overflow

    Aug 13, 2015 · 0 All you need is ol li::marker {color: Red} You can miss off the ol if you want it to apply to the symbols of unordered lists as well.

  3. html - p vs. ol or ul for form styling - Stack Overflow

    Discussion on the use of p, ol, and ul tags for form styling in HTML.

  4. html - How do I do an <ol> with decimals? - Stack Overflow

    Jan 15, 2010 · Here's a JavaScript solution for browsers that don't fully support CSS2. I've tested it in Firefox 3.5, IE6, IE7, IE8 and Chrome 4.0. I've written a pure JavaScript version and an equivalent …

  5. Ordered List (ol) showing up un-numbered? - Stack Overflow

    I have an ordered list (ol) on my page but the numbering is not showing up at all! I have done this:

  6. html - Why are <ol> and <dl> not deprecated? - Stack Overflow

    Aug 15, 2016 · That’s why ol has a type attribute ¹. But ignoring this, there is a semantic difference between ol and ul, not just a presentational difference. If you want to convey that a list is (un)ordered, …

  7. How can you customize the numbers in an ordered list?

    Learn how to customize numbers in an ordered list with examples and step-by-step instructions on Stack Overflow.

  8. How to center ordered list number in HTML - Stack Overflow

    Oct 14, 2013 · Learn how to center ordered list numbers in HTML with practical examples and solutions provided by the Stack Overflow community.

  9. html - Should ol/ul be inside <p> or outside? - Stack Overflow

    4.5.5 The ol element: Categories: Flow content. Content model: Zero or more li and script-supporting elements. The first part says that p elements can only contain phrasing content (which are “inline” …

  10. Remove the left spacing of an ordered list (OL) - Stack Overflow

    Jun 12, 2012 · The default spacing on the left may be caused by left padding or left margin of ol or li, or a combination thereof (depending on browser). So to get some specific spacing, set all those …