Index: page.tpl.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/danland/page.tpl.php,v
retrieving revision 1.17.2.4
diff -w -u -p -r1.17.2.4 page.tpl.php
--- page.tpl.php	19 Nov 2010 14:42:44 -0000	1.17.2.4
+++ page.tpl.php	1 Feb 2011 17:08:20 -0000
@@ -2,7 +2,7 @@
 // $Id: page.tpl.php,v 1.17.2.4 2010/11/19 14:42:44 danprobo Exp $
 ?>
 <div <?php print danland_page_class($page['sidebar_first'], $page['sidebar_second']); ?>>
-<div id="header">
+<div id="header" class="clearfix">
 <div id="header-wrapper">
 	<?php if ($logo): ?> 
 		<div id="logo-wrapper">
@@ -47,9 +47,8 @@
 
       </div><!-- end header-wrapper -->
 </div> <!-- /header -->
-<div style="clear:both"></div>
 
-<div id="menu">
+<div id="menu" class="clearfix">
 <div id="rounded-menu-left"></div>
  <?php if ($main_menu || $page['superfish_menu']): ?>
       <div id="<?php print $main_menu ? 'nav' : 'superfish' ; ?>">
@@ -65,10 +64,9 @@
     <?php endif; ?>
 <div id="rounded-menu-right"></div>
 </div> <!-- end menu -->
-<div style="clear:both"></div>
 
 <?php if($is_front): ?>
-<div id="slideshow-wrapper">
+<div id="slideshow-wrapper" class="clearfix">
 <div class="slideshow-inner">
 <div id="slideshow-preface">
  <?php if ($page['preface']): ?>
@@ -89,8 +87,7 @@
 <?php endif; ?>
 
  <?php if($page['preface_first'] || $page['preface_middle'] || $page['preface_last']) : ?>
-    <div style="clear:both"></div>
-    <div id="preface-wrapper" class="in<?php print (bool) $page['preface_first'] + (bool) $page['preface_middle'] + (bool) $page['preface_last']; ?>">
+    <div id="preface-wrapper" class="in<?php print (bool) $page['preface_first'] + (bool) $page['preface_middle'] + (bool) $page['preface_last']; ?> clearfix">
           <?php if($page['preface_first']) : ?>
           <div class="column A">
             <?php print render ($page['preface_first']); ?>
@@ -106,11 +103,9 @@
             <?php print render ($page['preface_last']); ?>
           </div>
           <?php endif; ?>
-      <div style="clear:both"></div>
     </div>
     <?php endif; ?>
 
-<div style="clear:both"></div>
 <div id="wrapper">
 
     <?php if ($page['sidebar_first']): ?>
@@ -118,7 +113,7 @@
         <?php print render($page['sidebar_first']); ?>
       </div></div> <!-- end sidebar-first -->
     <?php endif; ?>
-<div id="content">
+<div id="content" class="clearfix">
 			<a id="main-content"></a>
 			<?php if ($page['content_top']) : ?><div class="content-top"><?php print render ($page['content_top']); ?></div>
 			<?php endif; ?>
@@ -146,7 +141,6 @@
 			<?php endif; ?>
 			<?php if ($page['content_bottom']) : ?><div class="content-bottom"><?php print render ($page['content_bottom']); ?></div>
 			<?php endif; ?>
-
 </div> <!-- end content -->
 
     <?php if ($page['sidebar_second']): ?>
@@ -154,13 +148,11 @@
         <?php print render($page['sidebar_second']); ?>
       </div></div> <!-- end sidebar-second -->
     <?php endif; ?>
-<div style="clear:both"></div>
 </div> <!-- end wrapper -->
 
 
 <?php if($page['bottom_first'] || $page['bottom_middle'] || $page['bottom_last']) : ?>
-    <div style="clear:both"></div>
-    <div id="bottom-teaser" class="in<?php print (bool) $page['bottom_first'] + (bool) $page['bottom_middle'] + (bool) $page['bottom_last']; ?>">
+    <div id="bottom-teaser" class="in<?php print (bool) $page['bottom_first'] + (bool) $page['bottom_middle'] + (bool) $page['bottom_last']; ?> clearfix">
           <?php if($page['bottom_first']) : ?>
           <div class="column A">
             <?php print render ($page['bottom_first']); ?>
@@ -176,14 +168,12 @@
             <?php print render ($page['bottom_last']); ?>
           </div>
           <?php endif; ?>
-      <div style="clear:both"></div>
     </div> <!-- end bottom first etc. -->
     <?php endif; ?>
 
 
  <?php if($page['bottom_1'] || $page['bottom_2'] || $page['bottom_3'] || $page['bottom_4']) : ?>
-    <div style="clear:both"></div><!-- Do not touch -->
-    <div id="bottom-wrapper" class="in<?php print (bool) $page['bottom_1'] + (bool) $page['bottom_2'] + (bool) $page['bottom_3'] + (bool) $page['bottom_4']; ?>">
+     <div id="bottom-wrapper" class="in<?php print (bool) $page['bottom_1'] + (bool) $page['bottom_2'] + (bool) $page['bottom_3'] + (bool) $page['bottom_4']; ?> clearfix">
           <?php if($page['bottom_1']) : ?>
           <div class="column A">
             <?php print render ($page['bottom_1']); ?>
@@ -204,12 +194,10 @@
             <?php print render ($page['bottom_4']); ?>
           </div>
           <?php endif; ?>
-      <div style="clear:both"></div>
     </div><!-- end bottom -->
     <?php endif; ?>
 
-<div style="clear:both"></div>
-<div id="footer-wrapper">
+<div id="footer-wrapper" class="clearfix">
 <?php if($page['footer']): ?>
 <div id="footer">
  <?php print render ($page['footer']); ?>
@@ -222,6 +210,5 @@
 <?php endif; ?>
 </div> <!-- end footer wrapper -->
 
-<div style="clear:both"></div>
-<div id="notice"><p>Theme by <a href="http://www.danetsoft.com">Danetsoft</a> and <a href="http://www.danpros.com">Danang Probo Sayekti</a> inspired by <a href="http://www.maksimer.no">Maksimer</a></p></div>
+<div id="notice" class="clearfix"><p>Theme by <a href="http://www.danetsoft.com">Danetsoft</a> and <a href="http://www.danpros.com">Danang Probo Sayekti</a> inspired by <a href="http://www.maksimer.no">Maksimer</a></p></div>
 </div>
\ No newline at end of file
