Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8111357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:05:08+00:00 2026-06-06T02:05:08+00:00

By default, an unstyled set of nested <ul> lists looks like this (in Chrome,

  • 0

By default, an unstyled set of nested <ul> lists looks like this (in Chrome, Firefox, and IE at least):

Nested <ul> screenshot

The top level has a list-style-type of disc, the next level is circle, and subsequent levels are square.

If I include a stylesheet that changes the list-style-type to none, is there a simple way to revert back to the “automatic bullet types” later in the document? (e.g., override with a subsequent CSS definition or JavaScript style change)

Basically, I’m looking for something like list-style-type: auto; (which is apparently not valid and has no effect):

<style type="text/css">
    ul { list-style-type: none; }
    ul { list-style-type: auto; } /* Does not work */
</style>

Setting the list-style-type back to disc changes every bullet in the list and I no longer see different bullets at different levels, so that doesn’t work either.

Is the only way to accomplish this by explicitly defining styles for every level? e.g.:

<style type="text/css">
    ul { list-style-type: disc; }
    ul ul { list-style-type: circle; }
    ul ul ul { list-style-type: square; }
</style>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T02:05:11+00:00Added an answer on June 6, 2026 at 2:05 am

    use classes to write for something like:

    ul { list-style-type: none; }
    .list_default { list-style-type: circle; }
    

    and then on the ul you want to apply bullets to,

    <ul class="list_default">
        <li>one</li>
        <li>two</li>
    </ul>
    

    Also, please do take other posters advice when it comes to not using “auto” behaviors. There are so many proprietary extensions to the standard and manufacturer-defined defaults that will just make you pull your hair out later. Develop the good habit now of not depending on their sanity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

By default, the ordered list looks like this: There are some spacing on the
Default ASP.NET MVC project has one MapRoute like routes.MapRoute( Default, {controller}/, new { controller
By default, simple_form generates error messages in this form: <span class=error>error_text</span> but what i
default date format in DatePicker is yyyy-mm-dd but i need dd-mm-yyyy. This one solution
My default Lotus Notes (v 8.5.2FP2) Inbox is sorted by date/time (newest at top).
By default Django displays date/time as something like May 13th, 2010, 4:01 p.m. .
default SBT log level is info (see http://code.google.com/p/simple-build-tool/wiki/RunningSbt ). How do I set it
Default positions are: top, bottom, left, right, etc - but no middle. When I
The default user registration page in Drupal 7 has fields to enter a username,
Default wp_list_authors will return authors list in the following format: <a href=#>AuthorName</a> (PostCount) I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.