How to print $banner; without ? After moving some animation code from page-front.tpl.php to a block, the paging animation is broken. 

Good:



Broken:



The slide code is:

&lt;div id="banner" class="clearfix"&gt;
    &lt;div class="main_view"&gt;
    &lt;div class="window"&gt;
      &lt;div class="image_reel"&gt;
        &lt;a href="event-1"&gt;&lt;img src="sites/all/themes/bluemasters/images/slide-image-1.jpg"&gt;&lt;/a&gt;
        &lt;a href="event-2"&gt;&lt;img src="sites/all/themes/bluemasters/images/slide-image-2.jpg"&gt;&lt;/a&gt;
        &lt;a href="event-3"&gt;&lt;img src="sites/all/themes/bluemasters/images/slide-image-3.jpg"&gt;&lt;/a&gt;
      &lt;/div&gt;
      &lt;div class="descriptions"&gt;
        &lt;div class="desc" style="display: none;"&gt; Event One &lt;/div&gt;
        &lt;div class="desc" style="display: none;"&gt; Event Two &lt;/div&gt;
        &lt;div class="desc" style="display: none;"&gt; Event Three &lt;/div&gt;
      &lt;/div&gt;        
    &lt;/div&gt;

    &lt;div class="paging" style="display: block;"&gt;
      &lt;a rel="1" href="#" class=""&gt;1&lt;/a&gt;
      &lt;a rel="2" href="#" class=""&gt;2&lt;/a&gt;
      &lt;a rel="3" href="#" class=""&gt;3&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;&lt;!--banner--&gt;


When I move the above code into a block and output via print $banner;, there is some extra &lt;div&gt; which breaks the animations:

&lt;div id="banner" class="clearfix"&gt;
&lt;div id="block-block-4" class="clear-block block block-block"&gt;
&lt;div class="content"&gt;
    &lt;div class="main_view"&gt;
    &lt;div class="window"&gt;
      &lt;div class="image_reel"&gt;
        &lt;a href="event-1"&gt;&lt;img src="sites/all/themes/bluemasters/images/slide-image-1.jpg"&gt;&lt;/a&gt;
        &lt;a href="event-2"&gt;&lt;img src="sites/all/themes/bluemasters/images/slide-image-2.jpg"&gt;&lt;/a&gt;
        &lt;a href="event-3"&gt;&lt;img src="sites/all/themes/bluemasters/images/slide-image-3.jpg"&gt;&lt;/a&gt;
      &lt;/div&gt;
      &lt;div class="descriptions"&gt;
        &lt;div class="desc" style="display: none;"&gt; Event One &lt;/div&gt;
        &lt;div class="desc" style="display: none;"&gt; Event Two &lt;/div&gt;
        &lt;div class="desc" style="display: none;"&gt; Event Three &lt;/div&gt;
      &lt;/div&gt;        
    &lt;/div&gt;

    &lt;div class="paging" style="display: block;"&gt;
      &lt;a rel="1" href="#" class=""&gt;1&lt;/a&gt;
      &lt;a rel="2" href="#" class=""&gt;2&lt;/a&gt;
      &lt;a rel="3" href="#" class=""&gt;3&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;!--banner--&gt;


Is it possible to force print $banner; to output the raw content of a block, without the &lt;div id="block-block-4" class="clear-block block block-block"&gt; and &lt;div class="content"&gt;?
Update: Changes made to work for Drupal 6 as your tag states 6.

It looks like the system is using the standard block.tpl.php with this code:

&lt;div id="block-&lt;?php print $block-&gt;module .'-'. $block-&gt;delta; ?&gt;" class="clear-block block block-&lt;?php print $block-&gt;module ?&gt;"&gt;

&lt;?php if (!empty($block-&gt;subject)): ?&gt;
  &lt;h2&gt;&lt;?php print $block-&gt;subject ?&gt;&lt;/h2&gt;
&lt;?php endif;?&gt;

  &lt;div class="content"&gt;&lt;?php print $block-&gt;content ?&gt;&lt;/div&gt;
&lt;/div&gt;


What you need to do is add another block template file, and take away the &lt;div&gt; tags you want to eliminate.  To do this, add a template named block-module-delta.tpl.php to your active theme.

For block-module-delta.tpl.php 


Module = the module that's creating the block (views, block, etc)
Delta = the internal id assigned to the block


So if the block module made the block, and it has an id of 4, you'd name the template file block-block-4.tpl.php, and you'd put this PHP/HTML in the template file:

&lt;?php if (!empty($block-&gt;subject)): ?&gt;
  &lt;h2&gt;&lt;?php print $block-&gt;subject ?&gt;&lt;/h2&gt;
&lt;?php endif;?&gt;

&lt;?php print $block-&gt;content ?&gt;


Notice how I eliminated the &lt;div id="block-block-4" class="clear-block block block-block"&gt; and &lt;div class="content"&gt; from the template.