How can I target one element on hover and then effect an other element?
Here's the HTML:
        <header>
            <h1 style="float: left; margin-top: 2%;">   Naughty Mama.</h1>
            <nav>
                <ul>
                    <li><a href="profile.php">My Profile</a></li>
                    <li><a href="inbox.php">Inbox</a></li>
                    <li><a href="notifications.php">Notifications</a></li>
                </ul>
            </nav>
        </header>
Here's the CSS:
@CHARSET "ISO-8859-1";
header {
    background-color: #ddd;
}
nav {
    float: right;
    margin-right: 5%;
    margin-top: 2%;
}
nav ul li{
    display: inline;
    padding: 15px;
    background-color: #eee;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
}
nav ul li a:hover {
    color: #000;
}
I want to effect the nav ul li when I hover on nav ul li a.
Hope I am clear.
 
     
    