title: If Else with a twist - maybe
body: <p>Can i make a If Else-statement that finishes a div before doing "else"?
  I want to cycle through my posts and put the posts from "specialCat" in one div.  </p>
  
  <pre><code>&lt;div id="the-div-i-want-to-close"&gt;  
  
  &lt;?php if (in_category('specialCat')) { ?&gt; 
  
      &lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
  
  &lt;?php }  else { ?&gt;
  
      &lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
  
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>Thanks a lot :) </p>