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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:58:21+00:00 2026-05-27T22:58:21+00:00

Link to the site Is there a way to limit background area on hover?

  • 0

Link to the site

Is there a way to limit background area on hover? (I am talking about breadcrumbs) On hover background is covering arrow and area after it? Is there some way to limit this?

This is html part of the code:

 <div id="breadcrumbs">
                <ul>
                    <li class="arrow-e"><a href="#">Home</a></li>
                    <li><a href="#">Article</a></li>
                    <li><a href="#">Gaming</a></li>
                    <li><a href="#">Lorem Ipsum</a></li>
                </ul>
                <div class="clear"></div>
            </div><!-- END OF DIV BREADCRUMBS -->    

And CSS code:

  #breadcrumbs {background: rgb(242, 242, 242); height: 100%;padding: 0 0 0 10px}
#breadcrumbs ul {margin: 0}
#breadcrumbs li {background-image: url(../img/icons/arrow.png);background-repeat: no-repeat;background-position: right;display: block;float: left;font-size: 1.35em;text-align: center; text-transform: uppercase;margin: 0;padding: 6px 40px 6px 5px;}
#breadcrumbs li:last-child{background-image: none}
#breadcrumbs li:hover{background: rgba(120,27,32,.9);}
#breadcrumbs li:hover a, #breadcrumbs a:hover, .current a{color: white;text-shadow:0px 0px 1px #696969}
  • 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-27T22:58:21+00:00Added an answer on May 27, 2026 at 10:58 pm

    you do like this:

    HTML:

    <ul>
        <li>bla</li>
        <li>text1</li>
        <li>text2</li>
    <ul>
    

    CSS:

    ul{
        list-style:none;
        overflow:hidden;
    }
    li{
        position:relative;
        width:70px;
        height:30px;
        float:left;
        margin-right:20px;
    }
    li:after{
        content:'';
        background:red;
        width:20px;
        height:30px;
        top:0;
        right:-20px;
        display:block;
        position:absolute;
    }
    li:hover{
        background:green;
    }
    

    http://jsfiddle.net/ECcaJ/

    or

    HTML

    <ul>
        <li>bla<span></span></li>
        <li>text1<span></span></li>
        <li>text2<span></span></li>
    <ul>
    

    CSS

    li span{
        background:red;
        width:20px;
        height:30px;
        top:0;
        right:-20px;
        display:block;
        position:absolute;
    }
    li:hover{
        background:green;
    }
    

    http://jsfiddle.net/ECcaJ/1/

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

Sidebar

Related Questions

Is there a way to tell Python about additional site-packages locations without modifying existing
Hi is there way to actually link to any site (not your own). And
I have textarea in my site(link shortening site) i want to user enter some
After having this question answered through a link to an external site , I
We have our site running on HTTPS. Is there a way to accept HTTP
Is there any way to split a long string of HTML after N words?
Is there any way of registering clicks to a callto: link with the use
Yeah, I was wondering if there's a way to make a link the size
Is there any way to limit a user's login access to only, say, 5
Is there any way to link to the application root with the ~ character

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.