title: PHP CSS :: inline work but not internal and external stylesheet
body: <p>I have created <strong>PHP</strong> files which accept data from $_GET method. </p>
  
  <p>After that I use all the data I get to create HTML pages. Nothing is wrong with the data but in <strong>CSS</strong> I cannot style HTML elements. Except when it comes to inline styling, that works but it is not good to maintain. </p>
  
  <p>I try to use like this but it doesn't work , Please Help</p>
  
  <p><em><strong>THANK IN ADVANCE</em></strong></p>
  
  <p>Example.php</p>
  
  <pre><code>&lt;?php
  $dataCover      = $_GET['dataCover'];
  $dataTitle      = $_GET['dataTitle'];
  $dataTag        = $_GET['dataTag'];
  $dataDir        = $_GET['dataDir'];
  $dataYear       = $_GET['dataYear'];
  $dataCreated    = $_GET['dataCreated'];
  $dataModified   = $_GET['dataModified'];
  $userAUID       = $_GET['userAUID'];
  $galleryID      = $_GET['galleryID'];
  ?&gt;
  
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
  
      &lt;style type="text/css" media="all"&gt;
          #container img{
              height: 230px;
              width: 200px;
          }
          #container .center{
              display: block;
              margin: 0 auto;
          }
      &lt;/style&gt;
  
      &lt;script src="../lib/jquery-1.10.2.min.js"&gt;&lt;/script&gt;
      &lt;script src="../lib/jquery.mobile-1.3.1.min.js"&gt;&lt;/script&gt;
      &lt;script src="../lib/se.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  
      &lt;div data-role ="page" id ="page1"&gt;
          &lt;div data-role ="header"&gt;
              &lt;h1&gt; header &lt;/h1&gt;
          &lt;/div&gt;
  
          &lt;div data-role="content"&gt;
              &lt;div id="container"&gt;
                  &lt;img class="center" src="&lt;?echo $dataCover?&gt;" alt=""/&gt;
                  &lt;p id="title"&gt;&lt;?echo $dataTitle;?&gt;&lt;/p&gt;
                  &lt;p id="tag"&gt;&lt;?echo $dataTag;?&gt;&lt;/p&gt;
                  &lt;p id="created"&gt;Created : &lt;?echo $dataCreated?&gt;&lt;/p&gt;
                  &lt;p id="modified"&gt;modified : &lt;?echo $dataModified?&gt;&lt;/p&gt;
                  &lt;a href="http://54.249.251.55/AUgallery"  target="_blank" data-url="&lt;? echo $dataCreated ?&gt;" rel="external" data-role="button"&gt;View Ebook-Gallery&lt;/a&gt;
                  &lt;a href="&lt;?echo 'http://localhost/webAPP/php/addBookmark.php?userAUID='.$userAUID.'&amp;noteID='.$galleryID?&gt;"data-ajax="false" rel="external" data-role="button"&gt;Bookmark&lt;/a&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>