Question: I have a class like this

```
.mydiv a {
    color: #014BA4;
}

```

How can I use this class for the `span` element ? (**Without adding/modifying the CSS file - I have no right to do**)

```
<div class="mydiv">
    <a href="mylink.html">This text is #014BA4</a>
    <span>How can I use the above class</span>
</div>

```

Answer: 
A terrible solution, but desperate times call for desperate measures; If you wrap your span in an anchor tag with the href attribute set to # and then stop the default behaviour...   

```
<div class="mydiv">
    <a href="mylink.html">This text is #014BA4</a>
    <span><a href="#" onclick="return false;">How can I use the above class</a></span>
</div>

```

You would never normally do this but if it has to be done and you absolutely can't edit your css file then it's the only way I can think of.
Try this

```
.mydiv a,.mydiv {
    color:#014BA4;
}

```