My current page's content header appears as follows:
However, I am aiming for something like this instead:
This is the HTML snippet related to that part of the page:
<div class="header">My Tools<a href="#possess" class="anchor_link">View Tools you Possess</a></div>
Here are my CSS styles for the relevant classes:
#content .header{
font-size:180%;
width:1000px;
border-bottom:1px solid #000000;
}
#content .header .anchor_link{
font-size:100%;
text-align:right;
text-decoration:none;
color:#0059FF;
}
I need some guidance on what mistakes I might be making here in order to achieve the desired look.
EDIT: Also, why doesn't the text size inside the anchor element change to 100% as expected?
In an update: I have resolved the font-size issue by realizing that the 100% value is relative to the parent div, so to make the text smaller, I adjusted the anchor's font-size to 60%