title: Adding CSS to PHP
body: <p>Alright so I was creating a normal page in html and have linked a CSS page to it. Using </p>
  
  <pre><code>&lt;link href="css/index.css" rel="stylesheet" type="text/css" /&gt;
  </code></pre>
  
  <p>I was wondering if I wanted to use the same method of CSS on some PHP that is echoed out onto the page. Is there a way to do this or do I have to do it using style="" within the tag?</p>
  
  <p>This is what I've tried...</p>
  
  <pre><code>#test{
       width:75px;
       background-color:#FFF;
       display:inline-block;  
  }
  
  &lt;?php
       echo '&lt;a href="test.php" id="test"&gt;Test&lt;/a&gt;'
  ?&gt;
  </code></pre>