Slav Posted May 16, 2018 Report Posted May 16, 2018 Hi there! I am in CSS chapter 5 Styling links and list and I have a problem with nav tag. When I place mouse on link nothing happen. Its my code: html <nav id="navigation"> <h2>The Main navigation</h2> <ul> <li><a href="https://www.google.com/">Home</a></li> <li><a href="https://www.google.com/">Store</a></li> <li><a href="https://www.google.com/">Blog</a></li> <li><a href="https://www.google.com/">Contact us</a></li> </ul> </nav><!--closing navigation--> and css /* unvisited links*/ a:link { color: yellow; text-decoration: none; } a:visited: { color: red; background: red; } /*mouse over link*/ a:hover { color: blue; text-decoration: underline; font-family: arial; font-size: 30px; } /*selected link*/ a:active: { color: green; font-weight: bold; } #centerDoc a:link { color: green; text-decoration: underline; } #centerDoc a:hover { color: blue; } Thanks
Andrea Posted May 16, 2018 Report Posted May 16, 2018 It looks right - any chance your actual page is online and you can link to it so we can see the whole thing?
Slav Posted May 17, 2018 Author Report Posted May 17, 2018 hi, Many thanks for replay. I mange to fix this by myself it was about a margin or border overlap my navigation section. thanks
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now