Rewrites for div/CSS (show_timings_box is not centered)
authorRoland Häder <roland@mxchange.org>
Sat, 28 Mar 2009 00:23:22 +0000 (00:23 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 28 Mar 2009 00:23:22 +0000 (00:23 +0000)
templates/de/html/page_body.tpl
templates/de/html/page_footer.tpl
templates/de/html/show_timings.tpl
theme/business/css/general.css
theme/default/css/general.css
theme/desert/css/general.css

index cdfab7f..cdf59ec 100644 (file)
@@ -1,5 +1 @@
-<body>
-<table border="0" cellspacing="0" cellpadding="0" id="master">
-       <tr>
-               <td class="masterbox" align="center">
-               <div class="masterbox">
+<div class="masterbox" id="master">
index 05f14ce..188484d 100644 (file)
@@ -1,13 +1,11 @@
-<div align="center">
-       <div id="show_timings_block">
-               <div class="show_timings_column" style="float:right; margin-right: 2px">
-                       {--SHOW_TIMINGS_NUM_TEMPLATES--}&nbsp;<span class="show_timings_data">$content[numTemplates]</span>
-               </div>
-               <div class="show_timings_column" style="float: left; margin-left: 2px">
-                       {--SHOW_TIMINGS_RUNTIME--}&nbsp;<span class="show_timings_data">$content[runtime]</span>&nbsp;{--SHOW_TIMINGS_SECS--}
-               </div>
-               <div class="show_timings_column" align="center">
-                       {--SHOW_TIMINGS_SQL_QUERIES--}&nbsp;<span class="show_timings_data">$content[numSQLs]</span>
-               </div>
+<div id="show_timings_block">
+       <div class="show_timings_column" style="float: left; margin-left: 2px">
+               {--SHOW_TIMINGS_RUNTIME--}&nbsp;<span class="show_timings_data">$content[runtime]</span>&nbsp;{--SHOW_TIMINGS_SECS--}
+       </div>
+       <div class="show_timings_column" style="float: left; margin-left: 2px">
+               {--SHOW_TIMINGS_SQL_QUERIES--}&nbsp;<span class="show_timings_data">$content[numSQLs]</span>
+       </div>
+       <div class="show_timings_column" style="float:right; margin-right: 2px">
+               {--SHOW_TIMINGS_NUM_TEMPLATES--}&nbsp;<span class="show_timings_data">$content[numTemplates]</span>
        </div>
 </div>
index 314f578..29504ae 100644 (file)
@@ -640,26 +640,21 @@ DIV.admin_note {
 }
 
 #show_timings_block {
-       margin-top                              : 5px;
-       tex-align                               : center;
+       float                                   : left;
        border                                  : solid 1px #000000;
        background-color                : #EEEEFF;
        font-size                               : 10px;
        vertical-align                  : middle;
        width                                   : 465px;
-       height                                  : 22px;
-       z-index                                 : 0;
+       height                                  : 20px;
 }
 
 .show_timings_column {
-       z-index                                 : 10;
-       top                                             : 3px;
        background-color                : #FFFFFF;
-       position                                : relative;
-       margin                                  : 0px;
+       margin-top                              : 2px;
        width                                   : 150px;
-       display                                 : block;
        border                                  : solid 1px #000000;
+       height                                  : 14px;
 }
 
 .show_timings_data {
@@ -668,21 +663,21 @@ DIV.admin_note {
 
 
 .login_failure_header {
-       text-align                      : center;
+       text-align                              : center;
        background-color                : #EEEEFF;
-       font-weight                     : bold;
+       font-weight                             : bold;
 }
 
 .login_failures {
-       text-align                      : center;
-       width                           : 400px;
+       text-align                              : center;
+       width                                   : 400px;
 }
 
 .member_skyscraper, .guest_skyscraper {
-       width                           : 122px;
-       height                          : 601px;
-       border                          : 1px solid #000000;
-       margin                          : 0px;
-       padding                         : 0px;
-       padding-top                     : 1px;
+       width                                   : 122px;
+       height                                  : 601px;
+       border                                  : 1px solid #000000;
+       margin                                  : 0px;
+       padding                                 : 0px;
+       padding-top                             : 1px;
 }
index c50b8c4..45e7187 100644 (file)
@@ -660,31 +660,26 @@ DIV.admin_note {
 }
 
 .admin_message {
-       padding-top                     : 5px;
+       padding-top                             : 5px;
        padding-bottom                  : 5px;
 }
 
 #show_timings_block {
-       margin-top                      : 5px;
-       tex-align                       : center;
+       float                           : left;
        border                          : solid 1px #AA0044;
        background-color        : #ddeedd;
        font-size                       : 10px;
        vertical-align          : middle;
        width                           : 465px;
-       height                          : 22px;
-       z-index                         : 0;
+       height                          : 20px;
 }
 
 .show_timings_column {
-       z-index                         : 10;
-       top                                     : 3px;
        background-color        : #EEFFEE;
-       position                        : relative;
-       margin                          : 0px;
+       margin-top                      : 2px;
        width                           : 150px;
-       display                         : block;
        border                          : solid 1px #009900;
+       height                          : 14px;
 }
 
 .show_timings_data {
index 3fd5f2e..c74c0d4 100644 (file)
@@ -634,26 +634,21 @@ DIV.admin_note {
 }
 
 #show_timings_block {
-       margin-top                      : 5px;
-       tex-align                       : center;
+       float                           : left;
        border                          : solid 1px #880000;
        background-color        : #DDDDAA;
        font-size                       : 10px;
        vertical-align          : middle;
        width                           : 465px;
-       height                          : 22px;
-       z-index                         : 0;
+       height                          : 20px;
 }
 
 .show_timings_column {
-       z-index                         : 10;
-       top                                     : 3px;
        background-color        : #FFFFCC;
-       position                        : relative;
-       margin                          : 0px;
+       margin-top                      : 2px;
        width                           : 150px;
-       display                         : block;
        border                          : solid 1px #880000;
+       height                          : 14px;
 }
 
 .show_timings_data {