title: Unexpected space between DIV elements
body: <p>my code for the php page displaying the divs</p>
  
  <pre><code>&lt;?php
  session_start();
  require_once("classlib/mainspace.php");
  
  if (isset($_SESSION['username'])==FALSE) {
    header("location:login.php");
  }
  $user = new User($_SESSION['username']);
  ?&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
    &lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
    &lt;link rel="stylesheet" type="text/css" href="style/style.css" /&gt;
    &lt;title&gt;SimpleTask - Home&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div id="main"&gt;
        &lt;div id="menu"&gt;
          &lt;div id="items"&gt;
            &lt;ul&gt;
              &lt;li&gt;&lt;a href="home.php"&gt;home&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&amp;bull;&lt;/li&gt;
              &lt;li&gt;&lt;a href="projects.php"&gt;my projects&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&amp;bull;&lt;/li&gt;
              &lt;li&gt;&lt;a href="comments.php"&gt;my comments&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
          &lt;div id="user"&gt;
            &lt;p&gt;Welcome, &lt;?php echo $user-&gt;GetRealName(); ?&gt;&lt;br/&gt;&lt;a href="editprofile.php"&gt;edit profile&lt;/a&gt; &amp;bull; &lt;a href="logout.php"&gt;logout&lt;/a&gt;&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div id="content"&gt;
          &lt;h1&gt;HOME&lt;/h1&gt;
        &lt;/div&gt;
        &lt;div id="footer"&gt;
        &lt;p&gt;footer text goes here here here here&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and you can find my CSS here <a href="http://tasker.efficaxdevelopment.com/style/style.css" rel="nofollow noreferrer">http://tasker.efficaxdevelopment.com/style/style.css</a></p>
  
  <p>and to view the live page go here <a href="http://tasker.efficaxdevelopment.com/login.php" rel="nofollow noreferrer">http://tasker.efficaxdevelopment.com/login.php</a></p>
  
  <p>username:admin
  password:password</p>