 <p>best way is </p> <p>on defining css put some class in front (or <code>id</code> if only one time your are using the div). for eg:</p> <pre><code>.container a { text-decoration: none; color:#fff; font-size:15px; font-family: 'Ropa Sans', sans-serif; sans-serif;sans-serif; text-shadow: 1px 1px 1px #000; } </code></pre> <p>now you can use this in a <code>&lt;div class ="container"&gt;&lt;a href="#"&gt;sdfadsf&lt;/a&gt;</code></p>