Totally baffled! I've tried rewriting the text-decoration: none
line several different ways. I also managed to re-size the text by targeting it but the text-decoration: none
code will not take.
Help much appreciated.
Code
.widget
{
height: 320px;
width: 220px;
background-color: #e6e6e6;
position: relative;
overflow: hidden;
}
.title
{
font-family: Georgia, Times New Roman, serif;
font-size: 12px;
color: #E6E6E6;
text-align: center;
letter-spacing: 1px;
text-transform: uppercase;
background-color: #4D4D4D;
position: absolute;
top: 0;
padding: 5px;
width: 100%;
margin-bottom: 1px;
height: 28px;
text-decoration: none;
}
a .title
{
text-decoration: none;
}
<a href="#">
<div class="widget">
<div class="title">Underlined. Why?</div>
</div>
</a>
div
nested within ana
element is invalid outside of HTML5, so be sure of your doctypes when using that construction. – Barracuda