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 d86fa3064ca52c12cadcaef7638f1dc41f2efe55..c5e1a3082007fca29a65da016176c96fce6efea2 100644
--- a/html/main.php
+++ b/html/main.php
@@ -292,7 +292,7 @@ if (isset($_GET['reset'])) {
 /* show web frontend */
 $smarty->assign ("date", date("l, dS F Y H:i:s O"));
 $smarty->assign ("lang", preg_replace('/_.*$/', '', $lang));
-$smarty->assign ("must", "<font class=\"must\">*</font>");
+$smarty->assign ("must", '<span class="must">*</span>');
 if (isset($plug)) {
   $plug= "?plug=$plug";
 } else {
@@ -305,7 +305,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 a3033402e90de16e51829fd505c3822ef5ec5c3f..0f58fb70e9ddf66c5a08745c36111d4270a89ed5 100644
--- a/html/themes/default/plugin.css
+++ b/html/themes/default/plugin.css
@@ -68,6 +68,12 @@ clear:both;
 
 /* 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 128a7806ee6a46e6ac322d3777f457b9e9c86da8..542fb3e8432b972428ba3ce38b94c997bcfad3ea 100644
--- a/html/themes/default/style.css
+++ b/html/themes/default/style.css
@@ -180,7 +180,7 @@ margin-bottom:0;
 text-align:left;
 }
 
-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 131e05bd6b0a818c8f21ec5c96c0b809cbec03ab..077a5458abe301583d97248e759a10712ee4241f 100644
--- a/html/themes/default/tabs.css
+++ b/html/themes/default/tabs.css
@@ -9,6 +9,18 @@ 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 49b200015f70713ad564f24b64acdef0a213d4be..0c4fd9d61d6f6298bcab859f62af8d4c0e9e047d 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>
 
     <div>
diff --git a/ihtml/themes/default/logout.tpl b/ihtml/themes/default/logout.tpl
index bdd14897c00881114e58977d76234f3f686fa3dc..52d958c77744228d39a9c1a901f77299e663c0e3 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 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 a85f1e0b6c50a4745ec793220c50b1e82ae8b79a..fd92e1bbd35a55301e2c44b5c900013765d9cef0 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 5147ca1cbf125a631c70ce535db86c206dc4762e..d3f2158a244e731f2529e354abe941b5b1893a40 100644
--- a/include/class_acl.inc
+++ b/include/class_acl.inc
@@ -1117,7 +1117,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 8b9033b5f114064e7405378353e3b46f6025563b..5b5dca6252c85511c21833e4728f48376ddb7179 100644
--- a/include/class_divSelectBox.inc
+++ b/include/class_divSelectBox.inc
@@ -90,12 +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 '.
-                    '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 cf93bb87eedec1c642b76942290eea7cb9bbe7be..411dee77e12c80fbde85e2b533e923b535538515 100644
--- a/include/class_msgPool.inc
+++ b/include/class_msgPool.inc
@@ -430,7 +430,7 @@ class msgPool {
         if (preg_match("$regex", $currentChar)){
           $result.= $currentChar;
         } else {
-          $result.= "<font style='color:red;text-decoration:underline;'>".($currentChar)."</font>";
+          $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 d4f270946bf1522d401b898d74194f27822617d7..fa04def0917aff4a8aac68bfcd3bf6d831701722 100644
--- a/include/class_tabs.inc
+++ b/include/class_tabs.inc
@@ -153,8 +153,7 @@ class tabs
   function execute()
   {
     /* Show object */
-    $display = '<table cellpadding="4" 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; border-spacing:0px;">'."\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();
@@ -163,7 +162,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 728f9ce5d18464409e4bf3b95fef7c52d3a3f56b..ab919c330324c6cb7977cc20c312125c9bffdf43 100644
--- a/include/php_setup.inc
+++ b/include/php_setup.inc
@@ -202,9 +202,9 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline)
           <tr>
             <td>
               <img alt=\"\" src='{$warning_path}'>&nbsp;
-              <font style='font-size:14px;font-weight:bold'>".
+              <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 ba21e76593dd9027f6b0787502feadd2fa108963..f00f3113f0b97b57a620bd8fe2f893bbb401f188 100644
--- a/plugins/admin/departments/class_department.inc
+++ b/plugins/admin/departments/class_department.inc
@@ -439,7 +439,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 a2d4ad804007cfe08a24d67e0477b2a5f6f77cc0..0cf4533e3005c7a8a1079146a894afcc7aaff06a 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="" src="images/rightarrow.png"> {t}Properties{/t}</h2>
-     <table summary="">
+     <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 f083c1037c79a72790a1a2f88d1661594092fc5e..47fbb4881db4b5b2a0b6d6589a046418cf671777 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="" src="images/rightarrow.png"> {t}Properties{/t}</h2>
-     <table summary="">
+     <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 e2707ff8c743739f1a4084858783dd7d803652a4..3c2cdfe2083e45bf72011e481f2521e5a6aa966d 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"/>&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 746dd3b42c47471a2acaec2818fd9e4a73655556..07c724d5bf7e1f2f75d05322ec6c97caec95b614 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="" src="images/rightarrow.png"> {t}Properties{/t}</h2>
-     <table summary="">
+     <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 3c24bb25a3240ddb9b6ad5cbc19b84e5d8eed244..d686bd12d97f7979801119ef5bd5fa5c7cd0b023 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="" src="images/rightarrow.png"> {t}Properties{/t}</h2>
-     <table summary="">
+     <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 0ce1fcdc5025561096eeb1930e0aaac535ce027c..0ac411d68024101df6c982b440f0309386ab8e03 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 1151d21fed6d7dae468af831d77b8781da77cbbf..bea70f6b6bbfaf6b06214400f92051e56cd9e918 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")."...'>";
@@ -2333,7 +2333,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")."'>";
@@ -2489,7 +2489,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)).
@@ -2789,7 +2789,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 62b460b7b24899ba5f149a8f0e4234aa71ad46fc..10112c1c4c556f98df477f9cd9b7bf970cc56b7b 100644
--- a/setup/setup_frame.tpl
+++ b/setup/setup_frame.tpl
@@ -13,7 +13,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}