Add an area to a div in the view.php

Permalink
For design purposes I'm having the content block print 3 divs. The top and bottom are for decoration, and the middle for content. Problem is when I add content to the middle div it adds it to the top and bottom one.
How can I add an area to .content-block itself? I'm new to this, so any help will be appreciated. This is what I have in the view.
<?php 
   defined('C5_EXECUTE') or die("Access Denied.");
   $content = $controller->getContent();
   print '<div class="content-block-header">';
   print '</div>';
   print '<div class="content-block">';
   print $content;
   print '</div>';
   print '<div class="content-block-footer">';
   print '</div>';
?>

Kurtopsy
 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.