I am encountering an issue with changing the color in the <p>
tags within the code snippet below. Specifically, I am trying to change the TITLE text to gray but have been unsuccessful so far.
If anyone could provide assistance on this matter, it would be greatly appreciated!
HTML:
<div class="rec-anime-list-container">
<ul class="rec-anime-list container">
<li>
<a href="#">
<div class="column"><img src="http://dummyimage.com/120x80/000/fff" /></div></a>
<div class="column rightcol"><p class="rec-anime-title">TITLE</p><strong class="sub">[Sub]</strong></div>
</li>
<li>
<a href="#">
<div class="column"><img src="http://dummyimage.com/120xTITLE80/000/fff" /></div></a>
<div class="column rightcol"><p class="rec-anime-title">TITLE</p><strong class="sub">[Sub]</strong></div>
</li>
<li>
<a href="#">
<div class="column"><img src="http://dummyimage.com/120x80/000/fff" /></div></a>
<div class="column rightcol"><p class="rec-anime-title">TITLE</p><strong class="sub">[Sub]</strong></div>
</li>
<li>
<a href="#">
<div class="column"><img src="http://dummyimage.com/120x80/000/fff" /></div></a>
<div class="column rightcol"><p class="rec-anime-title">TITLE</p><strong class="sub">[Sub]</strong></div>
</li>
<li>
<a href="#">
<div class="column"><img src="http://dummyimage.com/120x80/000/fff" /></div></a>
<div class="column rightcol"><p class="rec-anime-title">TITLE</p><strong class="sub">[Sub]</strong></div>
</li>
<li>
<a href="#">
<div class="column"><img src="http://dummyimage.com/120x80/000/fff" /></div></a>
<div class="column rightcol"><p class="rec-anime-title">TITLE</p><strong class="sub">[Sub]</strong></div>
</li>
</ul>
CSS:
.rec-anime-list-container {
float:right;
text-decoration: none;
}
.rec-anime-list {
max-width: 480px;
}
.container li{
float:left;
width:230px;
margin-right:10px;
margin-bottom: 10px;
}
.column {
display:inline-block;
vertical-align:middle
}
.rightcol {
width:100px;
}
.rec-anime-title {
color:gray;
}
.sub {
color:blue;
font-size:16px;
}
.dub {
color:red;
}