Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: styling ordered list

itay pro asked 4 years ago


What should I use for styling an ordered list ?

e.g. https://www.w3schools.com/html/html_lists.asp

I didn't found anything relevant in https://mdbootstrap.com/docs/angular/components/list-group/#!

Thanks


Konrad Stępień staff commented 4 years ago

Can you tell me what results do you expect?


itay pro commented 4 years ago

Just wanted to make sure I didn't miss any pre-made styles


Arkadiusz Idzikowski staff answered 4 years ago


Those styles are designed specifically for unordered lists. If you want to display numbers you can change the ul tag to ol and use this styles:

.list-group {
    list-style: decimal inside;
}

.list-group-item {
    display: list-item;
}


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 9.1.0
  • Device: NA
  • Browser: NA
  • OS: NA
  • Provided sample code: No
  • Provided link: Yes
Tags