clf1605
Members
-
Joined
-
Last visited
Reputation Activity
-
clf1605 got a reaction from teodora in a href links taking style from navigation menuThx again Teodora, you are a coding genius...
-
clf1605 reacted to teodora in a href links taking style from navigation menuOK, the problem is you have set global link styles (so every <a> element inherits them).
What you can do is:
1. Your menu is ul, you can give it an id, for example:
2. Remove the styles from a, a:visited and then instead assign them to ul#nav li a, that means only the <a> of an <ul> element with an id nav will be styled this way.
Then you can set up basic styles (if you wish), like color for the global link styles, and you can override them the same way as above.
Hope that helps, ask if there is anything unclear
-
clf1605 reacted to teodora in a href links taking style from navigation menuFor hover, you can set ul#nav li a:hover and define the styles you wish. When the link is clicked it would be ul#nav li a:active
The active state is when you click on the link, for a second, before you are taken to the page the link in question links to.
Hope I explained that well