title: any suggestions on this css print problem
body: <p>I have this code on my print.css:</p>
  
  <pre><code>#header, #tae, #nav, .noprint {display: none;}                          
  width: 100%; margin: 0; float: none;
  </code></pre>
  
  <p>In order not to display the elements within those div tags. But I don't know with the code below why it isn't cooperating. If I place the div tags on it. And then I hit the print button. I see no output.
  Here it is:</p>
  
  <pre><code>&lt;div id="tae"&gt;
  
  &lt;table border="0" align="center" cellpadding="0" cellspacing="0" class="bg1"&gt;
      &lt;tr&gt;
          &lt;td class="text1" style="height: 50px;"&gt;xd627 information management system&lt;/td&gt;
      &lt;/tr&gt;
  
      &lt;tr&gt;
          &lt;td class="bg5"&gt;&lt;table border="0" cellspacing="0" cellpadding="0" style="height: 62px; padding-top: 15px;"&gt;
              &lt;tr align="center"&gt;
                  &lt;td&gt;&lt;a href="userpage.php" class="link1"&gt;Homepage&lt;/a&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;a href="RegStuds.php" class="link1"&gt;Database&lt;/a&gt;&lt;/td&gt;
  
                  &lt;td&gt;&lt;a href="#" class="link1"&gt;About&lt;/a&gt;&lt;/td&gt;
                  &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                  &lt;td&gt;&amp;nbsp;&lt;/td&gt;
                  &lt;td&gt;&amp;nbsp;&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;&lt;/td&gt;
      &lt;/tr&gt;
  
  
  
      &lt;tr&gt;
  
  
          &lt;td valign="top" class="bg6"&gt;&amp;nbsp;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
  
          &lt;td&gt;&lt;table width="780" border="0" cellspacing="0" cellpadding="0"&gt;
                  &lt;tr valign="top"&gt;
                      &lt;td width="20"&gt;&amp;nbsp;&lt;/td&gt;
                      &lt;td width="297"&gt;&lt;table width="100%" border="0" cellspacing="0" cellpadding="0"&gt;
                              &lt;tr&gt;
  
                                  &lt;td&gt;&lt;img src="images/spacer.gif" alt="" width="30" height="30" /&gt;&lt;/td&gt;
                          &lt;/tr&gt;
  
  
                              &lt;/tr&gt;
                              &lt;tr&gt;
                                  &lt;td class="text2"&gt;
  
   &lt;/div&gt;
  
  
  
     &lt;div id="max"&gt;
  
  &lt;?php
  
  //some php code in here showing a mysql table.
  
  ?&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>What's wrong with my code? Does the php script depend on the one where I put the div tag in?
  What do I do? All I want to show up in my page when printed is the mysql table. I'm using 
  <a href="http://www.print-driver.com/" rel="nofollow noreferrer">Universal Document Converter</a> to simulate printing.</p>