Hi,
This is for a University assignment, I have this title which has 3 words, the second 2 words are links and the first is not. The links are set up to change color when hovered over but unfortunately cant work out how to get the first word to not change color. Here's the code from the page:
Code:
<div class="pic">
<br />
<h3>Assessment 1:<a href="week_1.html"> Before</a> | <a href="week_1a_TEMP.html">After</a></h3><br>
<br />
<img src="images/pic2.jpg" alt="My Assessment 1 Site" style="border: 3px solid #ccc;" />
<br />
</div>
And the code from the style sheet:
Code:
.pic
{
float: right;
width: 468px;
padding: 0 20px 20px 20px;
text-align: justify;
}
.pic h3
{
padding: 0px 0 0px 0;
margin-bottom: 0px;
color: #B0FFBD;
font-size: 16px;
font-weight: 100;
}
.pic h3 a
{
color: #B0FFBD;
text-decoration: none;
}
.pic h3 a:hover
{
color: #eee;
}
Any help would be greatly appreciated, thanks!
|