Code

Fixed layout of print_red for khtml based browsers
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 26 Nov 2005 18:03:45 +0000 (18:03 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sat, 26 Nov 2005 18:03:45 +0000 (18:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2078 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions.inc

index 467e2729bbbd5dca3945cbf636068a9e3da3dbf7..10e663e1d8f2e85602d0275853ead0c8324670b8 100644 (file)
@@ -969,9 +969,9 @@ function print_red()
   if (isset($_SESSION['DEBUGLEVEL'])){
     $_SESSION['errors'].= "<div align=\"left\" style=\"border-width:5px;".
       "border-style:solid;border-color:red; background-color:black;".
-      "margin-bottom:10px; padding:8px;\"><table summary=''><tr><td><img alt=\"\" src=\"".
+      "margin-bottom:10px; padding:8px;\"><table style='width:100%' summary=''><tr><td><img alt=\"\" src=\"".
       get_template_path('images/warning.png')."\"></td>".
-      "<td width=\"100%\" align=\"center\"><font color=\"#FFFFFF\">".
+      "<td width=\"100%\" style=\"text-align:center\"><font color=\"#FFFFFF\">".
       "<b style='font-size:16px;'>$string</b></font></td><td>".
       "<img alt=\"\"src=\"".get_template_path('images/warning.png').
       "\"></td></tr></table></div>\n";