diff --git a/contrib/smarty/plugins/block.render.php b/contrib/smarty/plugins/block.render.php
index 83a8fea8e1e04fbcd1e276894a2070503e36f5ab..4cbad7342c17d23d2c168a9eb5e21b595f94b6e0 100644
--- a/contrib/smarty/plugins/block.render.php
+++ b/contrib/smarty/plugins/block.render.php
@@ -2,7 +2,7 @@
 
 function smarty_block_render($params, $text, &$smarty)
 {
-	/* Skip closing tag </render> */	
+	/* Skip closing tag </render> */
 	if(empty($text)) {
 		return("");
 	}
@@ -15,14 +15,14 @@ function smarty_block_render($params, $text, &$smarty)
 
 	/* Debug output */
 	if (session::is_set('DEBUGLEVEL') && session::get('DEBUGLEVEL') & DEBUG_ACL ){
-		echo "<font color='blue' size='2'>&nbsp;".$acl."</font>";
+		echo "<div style='color:blue;font-size:2;'>&nbsp;".$acl."</div>";
 	}
 
 
 
 	/* Parameter : checkbox, checked
-     *  If the parameter 'checkbox' is given, we create a html checkbox in front 
-     *   of the current object. 
+     *  If the parameter 'checkbox' is given, we create a html checkbox in front
+     *   of the current object.
      *	The parameter 'checked' specifies whether the box is checked or not.
      *  The checkbox disables or enables the current object.
      */
@@ -30,30 +30,30 @@ function smarty_block_render($params, $text, &$smarty)
 
 		/* Detect name and id of the current object */
 		$use_text = preg_replace("/\n/"," ",$text);
-		$name = preg_replace('/^.* name[ ]*=[ ]*("|\')([^\"\' ]*).*$/i',"\\2",$use_text);	
+		$name = preg_replace('/^.* name[ ]*=[ ]*("|\')([^\"\' ]*).*$/i',"\\2",$use_text);
 
 		/* Detect id */
 		if(preg_match("/ id=(\"|')[^\"']*(\"|')/i",$text)){
-			$id = preg_replace('/^.* id[ ]*=[ ]*("|\')([^\"\' ]*).*$/i',"\\2",$use_text);	
+			$id = preg_replace('/^.* id[ ]*=[ ]*("|\')([^\"\' ]*).*$/i',"\\2",$use_text);
 		}else{
 			$id = "";
 		}
-		
+
 		/* Is the box checked? */
 		isset($params['checked'])&&$params['checked'] ? $check = " checked " : $check = "";
 
-		/* If name isset, we have a html input field */	
+		/* If name isset, we have a html input field */
 		if(!empty($name)){
 
 			/* Print checkbox */
-			echo "<input type='checkbox' name='use_".$name."' ".$check." 
+			echo "<input type='checkbox' name='use_".$name."' ".$check."
 					onClick=\"changeState('".$name."');\" class='center'>";
 
 			/* Disable current object, if checkbox isn't checked */
 			if($check == ""){
 				$text = preg_replace("/name=/i"," disabled name=",$text);
 			}
-			
+
 			/* Add id to current entry, if it is missing */
 			if($id == ""){
 				$text = preg_replace("/name=/i"," id=\"".$name."\" name=",$text);
@@ -81,8 +81,8 @@ function smarty_block_render($params, $text, &$smarty)
 				"class='list1nohighlightdisabled'",
 				"class='list1nohighlightdisabled'",
 				"class='sortableListItemDisabled'");
-				
-		if(!preg_match("/ disabled /",$text)){
+
+		if(!preg_match('/ disabled(="disabled")?( |\/?>)/', $text)){
 			$from [] = "/name=/i" ;
 			$to   [] = "disabled name=";
 		}
@@ -95,14 +95,14 @@ function smarty_block_render($params, $text, &$smarty)
 			$new = "src=\"".$params['disable_picture']."\"";
 			$text = preg_replace($syn,$new,$text);
 		}
-	}		
+	}
 
 	/* Read only */
 	if(preg_match("/r/i",$acl)){
-		return(preg_replace("/GOSA_LINE_BREAK/","\n",$text));	
+		return(preg_replace("/GOSA_LINE_BREAK/","\n",$text));
 	}
 
-	/* No acls */	
+	/* No acls */
 	if(preg_match("/type['\"= ].*submit/",$text)){
 		$text = preg_replace("/submit/","button",$text);
 	}else{
diff --git a/html/main.php b/html/main.php
index fba99569e8134e4a64b602a6d21bec8a96d196cd..43f3e560ca1ae4331d968275843620926a0a466c 100644
--- a/html/main.php
+++ b/html/main.php
@@ -312,7 +312,7 @@ if (session::global_get('js') == FALSE) {
 }
 
 if ($ui->ignore_acl_for_current_user()) {
-  $smarty->assign ("username", "<font color='#FF0000';>"._("User ACL checks disabled")."</font>&nbsp;".$ui->username);
+  $smarty->assign ("username", "<div style='color:#FF0000;'>"._("User ACL checks disabled")."</div>&nbsp;".$ui->username);
 } else {
   $smarty->assign ("username", $ui->username);
 }
diff --git a/html/themes/default/plugin.css b/html/themes/default/plugin.css
index 01432e0336010c216db6badeadbcaa18436cab25..8d8e03fbb596708dddeb4a4f92700ff31ca9f783 100644
--- a/html/themes/default/plugin.css
+++ b/html/themes/default/plugin.css
@@ -73,6 +73,12 @@ text-align:left;
 
 /* Simple Plugin specific things */
 
+.plugin_sections:after {
+content: "";
+display: block;
+clear: both;
+}
+
 .plugin_section {
 display:block;
 float:left;
diff --git a/html/themes/default/style.css b/html/themes/default/style.css
index e363558a3e4b90b800f8723d777d88c1c88e02dc..acab15bd08f13c65b78c96b22a9d5fa31054a633 100644
--- a/html/themes/default/style.css
+++ b/html/themes/default/style.css
@@ -183,7 +183,7 @@ html.rtl p.seperator {
 text-align:right;
 }
 
-font.must {
+.must {
 color:red;
 font-family:arial,helvetica,sans-serif;
 }
diff --git a/html/themes/default/tabs.css b/html/themes/default/tabs.css
index 07aa28f9953cccac79f2b8f1edac83e04c16c859..4039a0c94a5a04dff0bb03f8b480e24060e3976c 100644
--- a/html/themes/default/tabs.css
+++ b/html/themes/default/tabs.css
@@ -1,4 +1,26 @@
 
+table.tabs_header {
+width:100%;
+border:none;
+border-spacing:0px;
+}
+
+table.tabs_header > tbody > tr > td {
+padding:0;
+}
+
+div.tab_content {
+padding:4px;
+width:100%;
+background-color:#F8F8F8;
+border-style:solid;
+border-color:#AAA;
+border-top-width:0px;
+border-bottom-width:1px;
+border-left-width:1px;
+border-right-width:1px;
+}
+
 div.tab_active {
 text-align:center;
 background-color:#f8f8f8;
diff --git a/ihtml/themes/default/login.tpl b/ihtml/themes/default/login.tpl
index 38eaf79e10b9fcdc81a0046a513a9f69cd0e5841..abfbba526e26f7e2e9892b07b86b1f7f5239e4b0 100644
--- a/ihtml/themes/default/login.tpl
+++ b/ihtml/themes/default/login.tpl
@@ -21,7 +21,7 @@
     <div class="optional">
       {t}Please use your username and your password to log into the site administration system.{/t}<br />
       {if $ssl}<b>{$ssl}</b>{/if}
-      {if $lifetime}<b><font style="color:red";>{$lifetime}</font></b>{/if}
+      {if $lifetime}<b><div style="color:red;">{$lifetime}</div></b>{/if}
     </div>
 
     <input id="focus" name="focus" type="image" src="images/empty.png" style="width:0px; height:0px;" />
diff --git a/ihtml/themes/default/logout.tpl b/ihtml/themes/default/logout.tpl
index 4127650298f961e1436661630108f408550dbf7b..0a595699fb102ce88a71faee23833a9e2f3d5f1f 100644
--- a/ihtml/themes/default/logout.tpl
+++ b/ihtml/themes/default/logout.tpl
@@ -1,22 +1,22 @@
-<body style="background-color: white;background-image:none;">
+<body style="background-color: white;">
 
-<form action='index.php' method='post' name='mainform'>
-<div style="margin-left:10%; margin-right:10%; margin-top:5%; border:2px solid red;padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:20px;">
- <h1>{t}Your FusionDirectory session has expired!{/t}</h1>
- <p>
- {t}The last interaction with the FusionDirectory web interface has been some time ago in the past. For security reasons, the session has been closed. To continue with administrative tasks, please sign in again.{/t}
- </p>
- <br>
- <center><input type="submit" name="dummy" value="{t}Sign in again{/t}"></center>
-</div>
+<form action="index.php" method="post" name="mainform">
+  <div style="margin-left:10%; margin-right:10%; margin-top:5%; border:2px solid red;padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:20px;">
+    <h1>{t}Your FusionDirectory session has expired!{/t}</h1>
+    <p>
+      {t}The last interaction with the FusionDirectory web interface has been some time ago in the past. For security reasons, the session has been closed. To continue with administrative tasks, please sign in again.{/t}
+    </p>
+    <br/>
+    <div style="text-align: center;"><input type="submit" name="dummy" value="{t}Sign in again{/t}"/></div>
+  </div>
 </form>
 
-</body>
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
   focus_field('dummy');
   -->
 </script>
+</body>
 
 </html>
diff --git a/ihtml/themes/default/recovery.tpl b/ihtml/themes/default/recovery.tpl
index d5fea6be1b664ca45dae53f279581345746d02f5..c329f93c1e17fb21d2ef1c05dddb12b55021508b 100644
--- a/ihtml/themes/default/recovery.tpl
+++ b/ihtml/themes/default/recovery.tpl
@@ -51,7 +51,7 @@
              Dummy recuperation method
           </li>
           <li>
-            <font color="red">{t}If none of the above methods suits you, contact your administrator to change your password{/t}</font>
+            <div style="color:red;">{t}If none of the above methods suits you, contact your administrator to change your password{/t}</div>
           </li>
         {/if}
       </ul>
@@ -59,7 +59,7 @@
 {elseif $step==3}
     <p class="infotext">
       {t}Informations to reset password for {$uid} have been sent to email address {$address_mail}{/t}<br/>
-      <font color="red">{t}Warning : this email is only valid for {$delay_allowed} minutes.{/t}</font>
+      <div style="color:red;">{t}Warning : this email is only valid for {$delay_allowed} minutes.{/t}</div>
     </p>
 {elseif $step==4}
     <p class="infotext">
diff --git a/include/class_acl.inc b/include/class_acl.inc
index 386dd91d0f2220192e8b573f3007f17575f75779..0f7a75bc5b41cc3aeb8ae3b92706c03b73c95a36 100644
--- a/include/class_acl.inc
+++ b/include/class_acl.inc
@@ -1154,7 +1154,7 @@ class acl extends plugin
           $summary.= $cn.", ";
         }
       } else {
-        $summary.= "<font color='red'><i>"._("inactive")."&nbsp;-&nbsp;"._("No members")."</i></font>";
+        $summary.= "<div style='color:red;'><i>"._("inactive")."&nbsp;-&nbsp;"._("No members")."</i></div>";
       }
     }
     return (preg_replace('/, $/', '', $summary));
diff --git a/include/class_divSelectBox.inc b/include/class_divSelectBox.inc
index 93da2fb0cdc35c4ca30cc2ca948d4a8c1603316d..5b5dca6252c85511c21833e4728f48376ddb7179 100644
--- a/include/class_divSelectBox.inc
+++ b/include/class_divSelectBox.inc
@@ -90,13 +90,12 @@ class divSelectBox
   {
     $s_return = '';
     $s_return .= '<div style="padding-right:1px;padding-bottom:2px;height:'.$this->height.';width:100%">'."\n";
-    $s_return .= '<div style="overflow: auto;width:100%;height:100%;">'."\n";
+    $s_return .= '<div style="overflow:auto; width:100%; height:100%;">'."\n";
     $s_return .= '<table '.
-                    'summary="'.$this->s_summary.'" '.
-                    'class="listingTable"'.
+                    'class="listingTable" '.
                     'style="overflow:scroll; '.
-                      'height:98%;'.
-                      'width:100%;'.
+                      'height:98%; '.
+                      'width:100%; '.
                       'padding-right:1px; '.
                       'padding-bottom:2px;"'.
                   ">\n";
diff --git a/include/class_msgPool.inc b/include/class_msgPool.inc
index 3e28fdaf0591f6587528885e81845c7ac052d955..411dee77e12c80fbde85e2b533e923b535538515 100644
--- a/include/class_msgPool.inc
+++ b/include/class_msgPool.inc
@@ -430,8 +430,8 @@ class msgPool {
         if (preg_match("$regex", $currentChar)){
           $result.= $currentChar;
         } else {
-          $result   .= '<span style="color:red;text-decoration:underline;">'.($currentChar).'</span>';
-          $mismatch .= $currentChar;
+          $result.= "<div style='color:red;text-decoration:underline;'>".($currentChar)."</div>";
+          $mismatch.= $currentChar;
         }
       }
 
diff --git a/include/class_tabs.inc b/include/class_tabs.inc
index a4d5e7171c695bc4ee6fbd40a251df9d734ae9fb..9c1cdd9b6bdc18d0e5f4d5249c24b118e88b766e 100644
--- a/include/class_tabs.inc
+++ b/include/class_tabs.inc
@@ -168,8 +168,7 @@ class tabs
   function execute()
   {
     /* Show object */
-    $display = "<table summary=\"\" cellpadding=4 cellspacing=0 border=0 style=\"width:100%; background-color:#F8F8F8; border-style:solid; border-color:#AAA; border-top-width:0px; border-bottom-width:1px; border-left-width:1px; border-right-width:1px;\">\n";
-    $display .= "<tr><td>\n";
+    $display = '<div class="tab_content">'."\n";
 
     $display .= $this->by_object[$this->current]->execute();
     $modal_dialog = $this->by_object[$this->current]->is_modal_dialog();
@@ -178,7 +177,7 @@ class tabs
     $tabs   = $this->gen_tabs($modal_dialog);
 
     /* Footer for tabbed dialog */
-    $display = $tabs.$display."</td></tr></table>";
+    $display = $tabs.$display.'</div>';
 
     return $display;
   }
diff --git a/include/php_setup.inc b/include/php_setup.inc
index ee19737cde7f1140c3bcf4a8e0b05a616437180e..a369a7f35749483044729f484ac2ed52295a23d6 100644
--- a/include/php_setup.inc
+++ b/include/php_setup.inc
@@ -201,10 +201,10 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline)
         <table summary=\"\" width=\"100%\" style='background-color:#E0E0E0;border-bottom:1px solid black;z-index:150;'>
           <tr>
             <td>
-              <img alt=\"\" align=\"middle\" src='{$warning_path}'>&nbsp;
-              <font style='font-size:14px;font-weight:bold'>".
+              <img alt=\"\" src='{$warning_path}'>&nbsp;
+              <div style='font-size:14px;font-weight:bold'>".
                 _("Generating this page caused the PHP interpreter to raise some errors!")."
-              </font>
+              </div>
             </td>
             <td align=right>
               <a href=\"mailto:bugs@fusiondirectory.org?subject=FusionDirectory%20bugreport&amp;body=%BUGBODY%\">
diff --git a/plugins/admin/departments/class_department.inc b/plugins/admin/departments/class_department.inc
index c39e71b84680e659fd9737d2d54abfaf14d964c0..7a4ea9c4949fbfd023f0690b9f619720ae214d51 100644
--- a/plugins/admin/departments/class_department.inc
+++ b/plugins/admin/departments/class_department.inc
@@ -617,7 +617,7 @@ class department extends plugin
       $this->update_acls($object, $dst, TRUE);
 
       if (!$this->copy($src, $dst)) {
-        echo "<font color='#FF0000'><br>".sprintf(_("FAILED to copy %s, aborting operation"), LDAP::fix($src))."</font>";
+        echo "<div style='color:#FF0000'><br/>".sprintf(_("FAILED to copy %s, aborting operation"), LDAP::fix($src))."</div>";
         return FALSE;
       }
       echo "<script language=\"javascript\" type=\"text/javascript\">scrollDown2();</script>";
diff --git a/plugins/admin/departments/country.tpl b/plugins/admin/departments/country.tpl
index 6a9176d33b94bb96c58599e91b95d1ad7aae9c1c..ee00edf973ac45ba5dc886b1f495ffc8cfcc3ecd 100644
--- a/plugins/admin/departments/country.tpl
+++ b/plugins/admin/departments/country.tpl
@@ -2,11 +2,11 @@
   //  COUNTRY (c)
     //////////////////// -->
 
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
+<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
  <tr>
    <td style="vertical-align:top; width:50%">
-     <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
-     <table summary="">
+     <h2><img class="center" alt="" src="images/rightarrow.png"> {t}Properties{/t}</h2>
+     <table>
       <tr>
        <td><LABEL for="c">{t}Country name{/t}</LABEL>{$must}</td>
        <td>
@@ -43,14 +43,14 @@
           title='{$manager}'>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+        <input type='image' src='images/lists/edit.png' name='editManager' class='center' alt="edit"/>
 {/render}
         {if $manager!=""}
 {render acl=$managerACL}
-        <img src='images/info_small.png' title='{$manager}' class='center'>
+        <img src='images/info_small.png' title='{$manager}' class='center' alt="info"/>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+        <input type='image' src='images/lists/trash.png' name='removeManager' class='center' alt="trash"/>
 {/render}
         {/if}
      </td>
diff --git a/plugins/admin/departments/dcObject.tpl b/plugins/admin/departments/dcObject.tpl
index 18c5126981af180236b6a4353255aad814dcff84..7db0618e96335a28e20a53c8dc7630c00536d0f0 100644
--- a/plugins/admin/departments/dcObject.tpl
+++ b/plugins/admin/departments/dcObject.tpl
@@ -2,11 +2,11 @@
   //  LOCALITY (l)
     //////////////////// -->
 
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
+<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
  <tr>
    <td style="vertical-align:top; width:50%">
-     <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
-     <table summary="">
+     <h2><img class="center" alt="" src="images/rightarrow.png"> {t}Properties{/t}</h2>
+     <table>
       <tr>
        <td><LABEL for="dc">{t}Locality name{/t}</LABEL>{$must}</td>
        <td>
@@ -43,14 +43,14 @@
           title='{$manager}'>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+        <input type='image' src='images/lists/edit.png' name='editManager' class='center' alt="edit"/>
 {/render}
         {if $manager!=""}
 {render acl=$managerACL}
-        <img src='images/info_small.png' title='{$manager}' class='center'>
+        <img src='images/info_small.png' title='{$manager}' class='center' alt="info"/>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+        <input type='image' src='images/lists/trash.png' name='removeManager' class='center' alt="trash"/>
 {/render}
         {/if}
      </td>
diff --git a/plugins/admin/departments/dep-filter.tpl b/plugins/admin/departments/dep-filter.tpl
index 550553b47fca4c6712ae9da74a03334b1c2b9e09..311a48d1dfac2c79e2218741d706c2ad6a5bbe13 100644
--- a/plugins/admin/departments/dep-filter.tpl
+++ b/plugins/admin/departments/dep-filter.tpl
@@ -9,11 +9,11 @@
  <div style="border-top:1px solid #AAAAAA"></div>
  {$SCOPE}
 
- <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
+ <table style="width:100%;border-top:1px solid #B0B0B0;">
   <tr>
    <td>
     <label for="NAME">
-     <img src="images/lists/search.png" align=middle>&nbsp;{t}Name{/t}
+     <img src="images/lists/search.png" alt="search"/>&nbsp;{t}Name{/t}
     </label>
    </td>
    <td>
diff --git a/plugins/admin/departments/domain.tpl b/plugins/admin/departments/domain.tpl
index 92e1f115981a670c7e0bc74a89cb90ab649cec0c..dee1fba133c63885e9d7f3c3421e17fcfe4f82d1 100644
--- a/plugins/admin/departments/domain.tpl
+++ b/plugins/admin/departments/domain.tpl
@@ -2,11 +2,11 @@
   //  LOCALITY (l)
     //////////////////// -->
 
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
+<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
  <tr>
    <td style="vertical-align:top; width:50%">
-     <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
-     <table summary="">
+     <h2><img class="center" alt="" src="images/rightarrow.png"> {t}Properties{/t}</h2>
+     <table>
       <tr>
        <td><LABEL for="dc">{t}Domain name{/t}</LABEL>{$must}</td>
        <td>
@@ -43,14 +43,14 @@
           title='{$manager}'>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+        <input type='image' src='images/lists/edit.png' name='editManager' class='center' alt="edit">
 {/render}
         {if $manager!=""}
 {render acl=$managerACL}
-        <img src='images/info_small.png' title='{$manager}' class='center'>
+        <img src='images/info_small.png' title='{$manager}' class='center' alt="info"/>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+        <input type='image' src='images/lists/trash.png' name='removeManager' class='center' alt="trash"/>
 {/render}
         {/if}
      </td>
diff --git a/plugins/admin/departments/locality.tpl b/plugins/admin/departments/locality.tpl
index 0ca3e29aa080c0020f4ccac266eca90f73c4e173..e288d42d322ee064767d8de62135d39b0add7264 100644
--- a/plugins/admin/departments/locality.tpl
+++ b/plugins/admin/departments/locality.tpl
@@ -2,11 +2,11 @@
   //  LOCALITY (l)
     //////////////////// -->
 
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
+<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
  <tr>
    <td style="vertical-align:top; width:50%">
-     <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
-     <table summary="">
+     <h2><img class="center" alt="" src="images/rightarrow.png"> {t}Properties{/t}</h2>
+     <table>
       <tr>
        <td><LABEL for="l">{t}Locality name{/t}</LABEL>{$must}</td>
        <td>
diff --git a/plugins/personal/password/password.tpl b/plugins/personal/password/password.tpl
index f0810d196d00d2978c58752a21f5cb287fdae51f..2a1632cfae78914fe893b99a0f5a99ee0e72005d 100644
--- a/plugins/personal/password/password.tpl
+++ b/plugins/personal/password/password.tpl
@@ -11,7 +11,7 @@
 <hr>
 
 {if $passwordExpired}
-    <b><font color='red'>{t}Your Password has expired. Please choose a new password!{/t}</font></b>
+    <b><div style='color:red;'>{t}Your Password has expired. Please choose a new password!{/t}</div></b>
 <hr>
 {/if}
 
diff --git a/setup/class_setupStep_Ldap.inc b/setup/class_setupStep_Ldap.inc
index 3951d69a525ac076375b6575eda0d3f731bbbe59..ed326f462c5b4280240fea97997f24d10452b4d3 100644
--- a/setup/class_setupStep_Ldap.inc
+++ b/setup/class_setupStep_Ldap.inc
@@ -118,14 +118,14 @@ class Step_Ldap extends setup_step
       if (!empty($this->admin)) {
         $str = sprintf(_("Bind as user '%s' failed!"), $this->admin, $this->connection);
       }
-      return "<font color='red'>".$str."</font>";
+      return "<div style='color:red;'>".$str."</div>";
     } else {
       if (empty($this->admin)) {
         $str = sprintf(_("Anonymous bind to server '%s' succeeded."), $this->connection);
-        return "<font color='blue'>".$str."</font> <font color='red'>"._("Please specify user and password!")."</font>";
+        return "<div style='color:blue;'>".$str."</div> <div style='color:red;'>"._("Please specify user and password!")."</div>";
       } else {
         $str = sprintf(_("Bind as user '%s' to server '%s' succeeded!"), $this->admin, $this->connection);
-        return "<font color='green'>".$str."</font>";
+        return "<div style='color:green;'>".$str."</div>";
       }
     }
   }
diff --git a/setup/class_setupStep_Migrate.inc b/setup/class_setupStep_Migrate.inc
index 709d2d861df5d23db522f56814dc68d4ed65afc5..da1c8d57b619ac76b2b88ede2f65c90d69caced5 100644
--- a/setup/class_setupStep_Migrate.inc
+++ b/setup/class_setupStep_Migrate.inc
@@ -246,7 +246,7 @@ class Step_Migrate extends setup_step
 
     if ($this->check_uidNumbers) {
       $this->checks['uidNumber_usage']['STATUS']      = FALSE;
-      $this->checks['uidNumber_usage']['STATUS_MSG']  = "<font style='color:#F0A500'>"._("Warning")."</font>";
+      $this->checks['uidNumber_usage']['STATUS_MSG']  = "<div style='color:#F0A500'>"._("Warning")."</div>";
       $this->checks['uidNumber_usage']['ERROR_MSG']   =
         sprintf(_("Found %s duplicate values for attribute 'uidNumber'."), count($this->check_uidNumbers));
       return FALSE;
@@ -298,7 +298,7 @@ class Step_Migrate extends setup_step
 
     if ($this->check_gidNumbers) {
       $this->checks['gidNumber_usage']['STATUS']      = FALSE;
-      $this->checks['gidNumber_usage']['STATUS_MSG']  = "<font style='color:#F0A500'>"._("Warning")."</font>";
+      $this->checks['gidNumber_usage']['STATUS_MSG']  = "<div style='color:#F0A500'>"._("Warning")."</div>";
       $this->checks['gidNumber_usage']['ERROR_MSG']   =
         sprintf(_("Found %s duplicate values for attribute 'gidNumber'."), count($this->check_gidNumbers));
       return FALSE;
@@ -369,7 +369,7 @@ class Step_Migrate extends setup_step
 
     if (count($this->outside_groups)) {
       $this->checks['outside_groups']['STATUS']     = FALSE;
-      $this->checks['outside_groups']['STATUS_MSG'] = "<font style='color:#F0A500'>"._("Warning")."</font>";
+      $this->checks['outside_groups']['STATUS_MSG'] = "<div style='color:#F0A500'>"._("Warning")."</div>";
       $this->checks['outside_groups']['ERROR_MSG']  =
         sprintf(_("Found %s groups outside the configured tree '%s'."), count($this->outside_groups), $group_ou);
       $this->checks['outside_groups']['ERROR_MSG']  .= "&nbsp;<input type='submit' name='outside_groups_dialog' value='"._("Move")."...'>";
@@ -446,7 +446,7 @@ class Step_Migrate extends setup_step
 
     if (count($this->outside_users)) {
       $this->checks['outside_users']['STATUS']      = FALSE;
-      $this->checks['outside_users']['STATUS_MSG']  = "<font style='color:#F0A500'>"._("Warning")."</font>";
+      $this->checks['outside_users']['STATUS_MSG']  = "<div style='color:#F0A500'>"._("Warning")."</div>";
       $this->checks['outside_users']['ERROR_MSG']   =
         sprintf(_("Found %s user(s) outside the configured tree '%s'."), count($this->outside_users), $people_ou);
       $this->checks['outside_users']['ERROR_MSG']   .= "<input type='submit' name='outside_users_dialog' value='"._("Move")."...'>";
@@ -586,7 +586,7 @@ class Step_Migrate extends setup_step
       $this->checks['users_visible']['ERROR_MSG']   = "";
     } else {
       $this->checks['users_visible']['STATUS']      = FALSE;
-      $this->checks['users_visible']['STATUS_MSG']  = "<font style='color:#F0A500'>"._("Warning")."</font>";
+      $this->checks['users_visible']['STATUS_MSG']  = "<div style='color:#F0A500'>"._("Warning")."</div>";
       $this->checks['users_visible']['ERROR_MSG']   = sprintf(_("Found %s user(s) that will not be visible in FusionDirectory or which are incomplete."),
           count($this->users_to_migrate));
       $this->checks['users_visible']['ERROR_MSG']   .= "<input type='submit' name='users_visible_migrate' value='"._("Migrate")."...'>";
@@ -2337,7 +2337,7 @@ class Step_Migrate extends setup_step
       }
 
       $this->checks['old_style_devices']['STATUS']      = FALSE;
-      $this->checks['old_style_devices']['STATUS_MSG']  = "<font style='color:#F0A500'>"._("Warning")."</font>";
+      $this->checks['old_style_devices']['STATUS_MSG']  = "<div style='color:#F0A500'>"._("Warning")."</div>";
       $this->checks['old_style_devices']['ERROR_MSG']   =
         sprintf(_("There are %s devices that need to be migrated."), count($this->device)).
           "<input type='submit' name='device_dialog' value='"._("Migrate")."'>";
@@ -2493,7 +2493,7 @@ class Step_Migrate extends setup_step
      */
     if (count($this->service)) {
       $this->checks['old_style_services']['STATUS']     = FALSE;
-      $this->checks['old_style_services']['STATUS_MSG'] = "<font style='color:#F0A500'>"._("Warning")."</font>";
+      $this->checks['old_style_services']['STATUS_MSG'] = "<div style='color:#F0A500'>"._("Warning")."</div>";
       $this->checks['old_style_services']['ERROR_MSG']  =
         sprintf(_("There are %s services that need to be migrated."),
             count($this->service)).
@@ -2828,7 +2828,7 @@ class Step_Migrate extends setup_step
      */
     if (count($this->menu)) {
       $this->checks['old_style_menus']['STATUS']      = FALSE;
-      $this->checks['old_style_menus']['STATUS_MSG']  = "<font style='color:#F0A500'>"._("Warning")."</font>";
+      $this->checks['old_style_menus']['STATUS_MSG']  = "<div style='color:#F0A500'>"._("Warning")."</div>";
       $this->checks['old_style_menus']['ERROR_MSG']   = sprintf(_("There are %s application menus which have to be migrated."),
                                                       count($this->menu))."<input type='submit' name='menu_dialog' value='"._("Migrate")."'>";
     } else {
diff --git a/setup/setup_feedback.tpl b/setup/setup_feedback.tpl
index d6928f6e72aed2c2db7c5ff83114e36086a68d08..932757850a1bb3f2222e950841c80338313008ee 100644
--- a/setup/setup_feedback.tpl
+++ b/setup/setup_feedback.tpl
@@ -1,20 +1,20 @@
 
 {if $feedback_send}
 
-  <div class='default' style='margin:12px; '>  
-    <font color='green'>{t}Feedback successfully send{/t}</font>
-  </div>  
+  <div class='default' style='margin:12px; '>
+    <div style='color:green;'>{t}Feedback successfully send{/t}</div>
+  </div>
 
 {else}
-  
-<div class='default' style='margin:12px; '>  
+
+<div class='default' style='margin:12px; '>
 
   <h2>{$additional_info}</h2>
 
   <h2>
     <input {if $subscribe} checked {/if} type='checkbox' name='subscribe' value='1' class='center'>&nbsp;{t}Subscribe to the fusiondirectory-users mailinglist{/t}
   </h2>
-  <table> 
+  <table>
     <tr>
       <td>
         {t}Organization{/t}
@@ -36,7 +36,7 @@
         {t}Mail address{/t}{$must}
       </td>
       <td>
-        <input name='eMail' type='text' value='{$eMail}' style='width:300px;'>  
+        <input name='eMail' type='text' value='{$eMail}' style='width:300px;'>
       </td>
     </tr>
   </table>
@@ -50,10 +50,10 @@
   {t}When checking this option, FusionDirectory will try to connect http://www.fusiondirectory.org in order to submit your form anonymously.{/t}
   </p>
   <b>{t}Generic{/t}</b>
-  <table> 
+  <table>
     <tr>
       <td style='vertical-align:top'>
-        {t}Did the setup procedure help you to get started?{/t}   
+        {t}Did the setup procedure help you to get started?{/t}
       </td>
       <td>
         <input {if $get_started} checked {/if} type='radio' name='get_started' value='1'>{t}Yes{/t}
@@ -78,10 +78,10 @@
         <br>
         <input {if !$first_use} checked {/if} type='radio' name='first_use' value='0'>{t}No{/t},
         {t}I use it since{/t}
-        <select name='use_since' title='{t}Select the year since when you are using FusionDirectory{/t}'> 
+        <select name='use_since' title='{t}Select the year since when you are using FusionDirectory{/t}'>
           {html_options options=$years}
         </select>
-      </td> 
+      </td>
     </tr>
     <tr>
       <td style='vertical-align:top'>
diff --git a/setup/setup_frame.tpl b/setup/setup_frame.tpl
index a674e3592ba00a4dbd9dc75e1cc44f79d3d813a1..5c555f37ec1e434d9dd53b6a4acab570d331577f 100644
--- a/setup/setup_frame.tpl
+++ b/setup/setup_frame.tpl
@@ -12,7 +12,7 @@
 
     <div class='setup_navigation'>
       <div style='padding:4px'>
-        <img src='images/setup/fai.png' class='center' alt='{t}Installation{/t}'>&nbsp;&nbsp;<font style="font-size:24px;">{t}Setup{/t}</font>
+        <img src='images/setup/fai.png' class='center' alt='{t}Installation{/t}'>&nbsp;&nbsp;<div style="font-size:24px;">{t}Setup{/t}</div>
       </div>
       {$navigation}
     </div>
diff --git a/setup/setup_schema.tpl b/setup/setup_schema.tpl
index 4e3f7e6f1c04e175574fef1e9e23024d35eefb7d..e1b149f0bf0b7f3d1d76755b6c78feca98213861 100644
--- a/setup/setup_schema.tpl
+++ b/setup/setup_schema.tpl
@@ -17,10 +17,10 @@
     </p>
   <div>
     {if $failed_checks == 0}
-      <font style="color:green">{t}Schema check succeeded{/t}</font>
+      <div style="color:green">{t}Schema check succeeded{/t}</div>
     {else}
       <img src='images/small_warning.png' class='center'>
-        <font style="color:red">{t}Schema check failed{/t}</font>
+        <div style="color:red">{t}Schema check failed{/t}</div>
 
 
     {/if}
@@ -39,7 +39,7 @@
           {if !$checks[$key].STATUS}
           <br>
             {if $checks[$key].IS_MUST_HAVE}
-              <font color='red'>{$checks[$key].MSG}</font>
+              <div style='color:red'>{$checks[$key].MSG}</div>
             {else}
               {$checks[$key].MSG}
             {/if}