Question
I need to be able to apply coloring rules to links in the SECTION and different coloring rules to the links in the ASIDE in
I need to be able to apply coloring rules to links in the SECTION and different coloring rules to the links in the ASIDE in my html document. I have been unable to figure out how to assign separate rules for each section. So far I have tried - a:link{ color:maroon } but obviously this would apply the color maroon to all the links and I only need this color for the links in the SECTION.
This is my full CSS code that I have at the moment:
* { font-family: sans-serif; }
img { float: left; margin-bottom: -1em; }
header { text-indent: 7% }
h1 { font-style: italic; color: steelblue;
text-shadow: 2px 2px steelblue; }
h2 { font-size: 130%; }
h3 { font-size: 100%; }
a:link{ color:maroon } section h3 { }
aside { line-height: 200% }
footer { font-size: 85%; text-align: center }
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started