CSS not modifying link properties

前端 未结 5 1462
离开以前
离开以前 2020-12-22 13:41

Whatever I try to do, I can\'t modify the color of my links ( want to create a color rollover effect). They always stay the same default blue color with the underline effec

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-22 14:08

    Because your CSS only specifies the color of the links contained within the #nav

    . All other links on page will be default color/style.

    EDIT:

    Not sure exactly which links you're talking about though. If you're talking about your navigation links, then see the others' answers pointing out the fact that you have a misplaced bracket } in your CSS.

    If you're talking about the other links on the page, see my original answer above. You have no CSS for those links.

提交回复
热议问题