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 7045515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:32:23+00:00 2026-05-28T02:32:23+00:00

I have a navigator on my site, made of <ul> elements: <div class=navigator> <ul>

  • 0

I have a navigator on my site, made of <ul> elements:

<div class="navigator">
    <ul>
        <li class="nav-item nav-parent nav-expanded">Category One
            <ul>
                <li class="nav-item nav-parent nav-collapsed">Subcategory One</li>
                <li class="nav-item nav-parent nav-collapsed">Subcategory Two</li>
                <li class="nav-item nav-parent nav-collapsed">Subcategory Three</li>
                <li class="nav-item nav-parent nav-expanded">Subcategory Four
                    <ul>
                        <li class="nav-item nav-expanded">Item 4-1</li>
                        <li class="nav-item nav-selected">Item 4-2</li>
                        <li class="nav-item nav-expanded">Item 4-3</li>
                    </ul>
                </li>
                <li class="nav-item nav-parent nav-collapsed">Subcategory Five</li>
            </ul>
        </li>
        <li class="nav-item nav-collapsed">Category Two</li>
        <li class="nav-item nav-collapsed">Category Three</li>
        <li class="nav-item nav-collapsed">Category Four</li>
    </ul>
</div>

Expanded and collapsed elements differ in a mark “+” or “-” made by following rules of css:

li.nav-expanded:before {
    content: "- ";
}
li.nav-collapsed:before {
    content: "+ ";
}

It looks fine in Firefox:

http://img853.imageshack.us/img853/4889/selection002z.png

But it looks weird in Chromium:

enter image description here

Why is this weird – because it fixes with strange action in Developer tools:
I choose li.nav-item element, change display: list-item to display:inline and back to display:list-item. And it looks fine.

I don’t understand, how to fix this? Is this Chromium bug?

  • 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-05-28T02:32:24+00:00Added an answer on May 28, 2026 at 2:32 am

    <ul> that are inside the <li> should be display: list-item too. So making:

    li.nav-item ul, .navigator ul {
        display: list-item;
    }
    

    fixed the problem in Chromium.

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

Sidebar

Related Questions

I am analyzing a problem from an old asp.net site made by one of
hi there everyone i have a question on joomla, i have made a site
I have recently made a horizontal and vertical scrolling site using jquery.scrollTo On the
I have a large, complicated web site, mostly written by other people. I've made
I have deployed a multilingual site. App detects navigator configurated language and show site
I have made tabs on my site. By tabs I mean the navigation links,
I have a very big problem... I made a web site using the ajax
I have a site I made with Django, and I'm trying to deploy it
Im have made a navigation bar for the top of site, the final look
I have a navigation on a site which uses subnavigation in the main navigation...

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.