This is a question someone else has asked me, as such i don't have any code to show but hopefully it's quite straight forward.
Having created:
#navigation
#navigation ul li
#navigation ul li a:hover
What needs to be done to style the individual links so that they change colour when the mouse is hovered over. At current all links do what the #navigation li a:hover specifies. But say i want "about to change to blue when i hover and contact to change to green when i hover.
i did suggest adding a class named .about etc.. but apparently that didn't work.
so is it a case of naming each li seperately? I'm not sure how this would be done.
would it be #navigation ul li about a:link
then the code would look something like:
<div id ="navigation">
<ul>
<li><div id="about>about</div></li>
</ul>
i hope you get my meaning, thansk for all help
Having created:
#navigation
#navigation ul li
#navigation ul li a:hover
What needs to be done to style the individual links so that they change colour when the mouse is hovered over. At current all links do what the #navigation li a:hover specifies. But say i want "about to change to blue when i hover and contact to change to green when i hover.
i did suggest adding a class named .about etc.. but apparently that didn't work.
so is it a case of naming each li seperately? I'm not sure how this would be done.
would it be #navigation ul li about a:link
then the code would look something like:
<div id ="navigation">
<ul>
<li><div id="about>about</div></li>
</ul>
i hope you get my meaning, thansk for all help