title: Horizontal Not Vertical Display?
body: <p>I have info pulled out of a sql database ( I know mysql is deprecated, I'll be switching soon ). Anyway, the info is automatically displayed vertically. Instead, I would like it to be displayed horizontally. </p>
  
  <p>Template.php (Part of it) I have to fix the nbsp, and I do realize I have a few errors.</p>
  
  <pre><code>    &lt;?php 
      $channel_check = mysql_query("SELECT content, Date FROM wgo WHERE Posted_By='$user' ORDER by `id` DESC;");
      $numrows_cc = mysql_num_rows($channel_check);
      if ($numrows_cc == 0) {
      echo ''; // They don't have any channels so they need to create one?&gt;&lt;h4&gt; &amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbspYou haven't posted anything yet. You can post what's going on in your life, how you're feeling, or anything else that matters to you.&lt;/h4&gt;
  
  
   &lt;?php
  }
  else
  {
  ?&gt;
  &lt;div id="recentc"&gt;
  &lt;/div&gt;
  &lt;?php
  echo"&lt;h2 id='lp'&gt; Latest Posts&lt;/h2&gt;";
    while($row = mysql_fetch_assoc($channel_check)) {
    $channel_name = $row['content'];
   ?&gt;
   &lt;div style="margin-top:60px;"&gt;
   &lt;hr style="margin-right:340px;width:600px; opacity:0;"&gt;
  
              &lt;?php echo "&lt;div id='rpc'&gt;&lt;h6&gt; $channel_name&lt;/h6&gt;&lt;/div&gt;";?&gt;
     &lt;/div&gt;
  </code></pre>
  
  <p>Styling: </p>
  
  <pre><code>#rpc {
  color:#6E6E6E;
  font-size:25px;
  margin-left:420px;
  font-family:Tahoma, Courier New, monospace;
  
  margin-right:100px;
  }
  </code></pre>
  
  <p>Okay, so I did everything that was suggested. It's better, but looks really funky now. Here's how the code looks like now.</p>
  
  <pre><code>     &lt;?php
  }
  else
  {
  ?&gt;
  &lt;div id="recentc" style="display:inline-block;"&gt;
  &lt;/div&gt;
  &lt;?php
  echo"&lt;h2 id='lp'&gt; Latest Posts&lt;/h2&gt;";
    while($row = mysql_fetch_array($channel_check)) {
    $channel_name = $row['content'];
   ?&gt;
  
  
              &lt;?php echo "&lt;div id='rpc'&gt;&lt;h6&gt; $channel_name&lt;/h6&gt;&lt;/div&gt;";?&gt;
     &lt;/div&gt;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>    #rpc {
  color:#6E6E6E;
  font-size:25px;
  margin-left:420px;
  font-family:Tahoma, Courier New, monospace;
  display:inline-block;
  margin-right:100px;
  
  }
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/hautR.png" rel="nofollow">http://i.stack.imgur.com/hautR.png</a></p>