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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:48:18+00:00 2026-06-16T13:48:18+00:00

<!DOCTYPE html> <html lang=fr> <head> <style> aside#_left{ width:239px; margin-left:0px; margin-right:1px; display:inline; position:fixed; } #content{

  • 0
<!DOCTYPE html>
<html lang="fr">
<head>
    <style>
        aside#_left{
            width:239px;
            margin-left:0px;
            margin-right:1px;
            display:inline;
            position:fixed;
        }
        #content{
            padding-top:70px;
            padding-left:225px;
        }

        .menu01{
            background-color:#827F80;
            width:80%;
        }

        ul#nav{
            color:#6E7377;
            list-style-type:none;
            line-height:200%;
            padding-top:5px;
            padding-bottom:10px;
            margin:0px;
            padding:0px;
            text-align:center;
        }

            ul#nav li:hover{
                cursor:pointer;
                border-top:1px solid #7a9bb6;
                border-bottom:1px solid #7a9bb6;
                background:#5482a0;
            }

            #nav a:link{
                color:#6E7377;
                text-decoration:none;
                font-weight:bolder;
            }

            #nav a:hover{
                color:#78C6FF;
            }

            #nav li * {
                color: inherit;
            }

            #nav li:hover * {
                color: inherit;
                color:#78C6FF;
            }
    </style>
</head>
<body>
    <aside id="_left">
        <img src="images/logo.png" />
        <nav class="menu01">
            <ul id="nav">
                <li><a href="#">Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...</a></li>
                <li><a href="#">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</a></li>
                <li><a href="#">Etiam interdum egestas nulla, ac dignissim urna suscipit non.</a></li>
            </ul>
        </nav>
    </aside>
    <div id="content">
        <p>
            Cras at dapibus mi. Vestibulum quis odio odio, a scelerisque mauris. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; 
            Ut ornare convallis elementum. Vivamus tincidunt malesuada lacus nec lacinia. Vestibulum lorem tortor, gravida sed convallis nec, dapibus ut leo. Donec id posuere leo. 
            Cras quis ante et dolor dictum euismod.
        </p>
    </div>
</body>
</html> 

Simply all I want is to populate the link font color from a li:hover. I suspect I’m just too lunatic…

Basically when the mouse go over the aside navigation panel I would like the text inside it to change, no matter what element are inside it, like <a>.

Update::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Status: completed, code updated

  • 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-16T13:48:19+00:00Added an answer on June 16, 2026 at 1:48 pm

    This depends on the elements inside of your li elements, but assuming you know what they are (in this case a):

    #nav li:hover a {
         color: inherit;
    }
    

    Though depending on how the a:link, a:visited, a:hover and a:active states are defined the specificity of other selectors may override this declaration.

    To be a little less precise, you can use the * wildcard selector:

    #nav li:hover * {
         color: inherit;
    }
    

    But, again, this may be overruled by other, more specific, selectors defined elsewhere (especially if an id is used).

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

Sidebar

Related Questions

HTML <!doctype html> <html> <head> </head> <body> <button id=b1 type=button>Show Spoiler</button> <p id=p1 style=display:none>
<!doctype html> <html lang=en> <head> <meta charset=utf-8/> <style> form:focus{ background:red; } </style> <title>Home, sweet
For example: <!doctype html> <html lang=zh-cn> <head> <style type=text/css> body { font-family: sans-serif; }
Edit: Entire page (HTML) <!doctype html> <html> <head> <meta charset=utf-8 /> <title>jQuery Ajax Test</title>
<!DOCTYPE html> <html> <head> <meta http-equiv=Content-Type content=text/html; charset=utf-8/> <title>FAQ Section</title> <link rel=stylesheet type=text/css href=styles.css/>
I have the following html and css code: <!DOCTYPE HTML> <html> <head> </head> <body>
<!DOCTYPE HTML> <html> <head> <script type=text/javascript src=http://code.jquery.com/jquery-1.7.2.js></script> <script type=text/javascript> $(#myBtn).on(click,function(){ alert('myBtn Clicked'); }); </script>
My code <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd> <html xmlns=http://www.w3.org/1999/xhtml> <head> <meta
<!DOCTYPE html> <html> <head> <meta http-equiv=X-UA-Compatible content=IE=edge /> <script src=resources/js/jquery-1.7.2.min.js> </script> ... ... <script>
<!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd> <html> <head> <title>Hijack Example</title> <script type=text/javascript src=./jquery-1.2.1.js></script>

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.