styling self referenced targets
-
I have a few header links that are also the # targets themselves.
So when I click on the headers, the page scrolls so the headers appear at the top of the page. That works wonderfully!I want to style those links to not have an underline and to be in a specific color.
I’ve tried targeting a class I put into the h3 tags which the links are in, but it seems like something in PS2id is overriding my styling.
<h3 id="architecture" class="h3links" style="text-align: center;"><a href="#architecture" rel="m_PageScroll2id">Architecture</a></h3>
.h3links a { color: green; text-decoration: none; }
The text-decoration works… but the color only changes if I append an !important to the end.
Is there any way to avoid using the !important declaration? Is there a specific tag I should/could target?
Thank You!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘styling self referenced targets’ is closed to new replies.