title: How do I prevent DIV tag starting a new line?
body: <p>I want to output a single line of text to the browser that contains a  tag. When this is rendered it appears that the DIV causes a new line. How can I include the content in the div tag on the same line - here is my code.</p>
  
  <pre><code>&lt;?php 
    echo("&lt;a href=\"pagea.php?id=$id\"&gt;Page A&lt;/a&gt;") 
  ?&gt;
  &lt;div id="contentInfo_new"&gt;
    &lt;script type="text/javascript" src="getData.php?id=&lt;?php echo($id); ?&gt;"&gt;&lt;/script&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I have tried to tidy it up here. How can I have this display on a single line?</p>