• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Categories
  • Contact Us
    • Advertising
    • Requests
    • Privacy Statement
HelpSpa.com

HelpSpa.com

Computer Tutorials

How to Manage Multiple Level Lists in Dreamweaver – Bullets, Letters, Numbers

December 27, 2010 by davidwank

Every so often I come across a deep-level list that needs to be put into an HTML document.  You can make yourself nuts with tons of classes, ID’s and the like, but found that by creating classes for the styles you need, you can save yourself a lot of time.

Thus, for each list-style: that I need, I create a CSS class:

.olDecimal li {list-style: decimal;}
.olAlpha li {list-style: lower-alpha;}
.olRoman li {list-style: lower-roman;}

These three classes will make my <UL> or <OL> with a decimal, lowercase alpha, or lowercase roman list-style: . Now I simply assign the class I want to the list in question, and I’m done.

This setup is particularly useful for a list like the following:

  1. Bread Aisle
    • white bread
    • wheat bread
  2. Meat and Fish Aisle
    • Chicken
    • Beef
      1. Hamburgers
      2. Steak
    • Tuna Fish

Getting the “Hamburgers” and “Steak” entires to have a lowercase roman text style can get a little tricky — especially on deeper and larger lists. So by assigning the .olRoman class, to the <ul> under the Beef section, you can easily make this change.  Using this method  you can easily get the list-style formatting you want. And to get even more precise, you can make the white and wheat breads (as well as Chicken, Beef and Tuna Fish) with lowercase alpha text (a., b.) by assigning the class .olAlpha to the  <ul> below the Bread Aisle <li>.  Remember, the classes should be assigned to the <UL> that proceeds the <li>’s in question.

We’ll that’s my solution, I hope it helps you out.

Filed Under: (X)HTML, Dreamweaver, Web Development Tagged With: Web Design, Web Development

Primary Sidebar

More to See

Google Analytics 4 Migration Training

December 22, 2022 By davidwank

Hubspot Zoom Webinar Integration

Connecting HubSpot and Zoom Webinars

August 27, 2022 By davidwank

Google Analytics as we know it is going away!

July 24, 2022 By davidwank

Footer

Text Widget

This is an example of a text widget which can be used to describe a particular service. You can also use other widgets in this location.

Examples of widgets that can be placed here in the footer are a calendar, latest tweets, recent comments, recent posts, search form, tag cloud or more.

Sample Link.

Recent

  • Google Analytics 4 Migration Training
  • Connecting HubSpot and Zoom Webinars
  • Google Analytics as we know it is going away!
  • Building a New Dental Website?
  • BackupBuddy Timeouts on GoDaddy Hosting

Search

Tags

Adobe Acrobat Backup classical music and opera cPanel DAM Database Digital Photography email Excel Facebook Firefox hardware HP Security HTML iMovie Internet Explorer iTunes linksys Microsoft Office Microsoft Word MySQL networking Office 2010 OneNote OpenOffice OS X PDF PHP printers reseller hosting Reviews router SEO subversion Video Virtualization Virtual PC Web Design Web Development Web Hosting Windows Windows 7 Windows Vista Windows XP Wireless

Copyright © 2025 · Magazine Pro on Genesis Framework · WordPress · Log in