This is very simple questions i know how to do it but i want to do it with some better way.I tried to find solutions online but couldn't find it.
Here is my css
a:link
{
text-decoration:none;
color:#fff;
font-size:15px;
font-family:'Ropa Sans', sans-serif;
text-shadow:1px 1px 1px #000;
}
a:visited
{
text-decoration:none;
color:#2a9dc0;
font-weight:normal;
text-shadow:1px 1px 1px #000;
}
a:active
{
text-decoration:none;
color:#2a9dc0;
text-shadow:1px 1px 1px #000;
}
a:hover
{
text-decoration:none;
color:#2a9dc0;
text-shadow:1px 1px 1px #000;
}
Now i have put an anchor tag but i don't want all these properties to apply to it so what i did is apply a class name no_a
and made all css properties none this is the way i did is there any other way?
<a class="no_a" href="#">
<article class="home_sml_box_red">
<section class="home_small_boxtext">
explore
</section>
<section class="home_small_boximage">
<img src="image/explore_icon.png">
</section>
<section class="home_small_lowtext">
Learn More
</section>
</article>
</a>