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

  • SEARCH
  • Home
  • 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 6019273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:23:50+00:00 2026-05-23T03:23:50+00:00

When I hover an item in a list and the list text contains a

  • 0

When I hover an item in a list and the list text contains a linebreak, the hover effect seems to be inconsistent.

<ul id="nav1" class="greenbullet">
    <li>
        <a href="" class="tsize">Surdite : en Europe, 40 <br />millions de personnes sont concernees</a>
    </li>
    <li>
        <a href="" class="tsize">GuideCaro, une entreprise pionniere, partenaire de Garnier</a>
    </li>
    <li>
        <a href="" class="tsize">Garnier renforce son accessibilite en lancant le service Sourdline </a>
    </li>
</ul>

The css

#nav1 { list-style:url(../../img/02-tri-SDB-light/images/greenbullet.png) }

#nav1 li a { text-decoration:none;color:#019b99 }

#nav1 li { margin-left:40px }

#nav1 li:hover, #nav1 li:hover a { list-style:url(../../img/02-    tri-SDB-light/images/puce2.png); color:#FFF;background-color:#019b99; }

How do I sort this out?

  • 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-23T03:23:51+00:00Added an answer on May 23, 2026 at 3:23 am

    I’ve created a fiddle and can’t see the problem.

    http://jsfiddle.net/jasongennaro/V654e/

    However, we can’t see your list-style because they are images. So the problem may be there, specifically with the :hover style. There appears to be a break in the url after the 02?

    #nav1 li:hover, #nav1 li:hover a { list-style:url(../../img/02- tri-SDB-light/images/puce2.png); color:#FFF;background-color:#019b99; }

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

Sidebar

Related Questions

I want to add a class to a list item when I hover over
I'm trying to have text spans pop up on a hover pseudo-class for different
How can i hover over an item in a list of items and the
I have a simple UL list, when you hover over the More list item
I am trying to add a class to a list item when the item
I have a calendar control derived from DataGridView. A custom item hover event is
When I hover on a static menu item that has a dynamic menu, the
Basically having some trouble with using Hover to hide or show an item. The
I need to select each list item and change the background image of the
http://jsfiddle.net/jasondavis/Mt87G/1/ I am trying to do an un-ordered list, each list item will have

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.