From c36a75c326e8e3992f5ff8fffff6af2f27101e0c Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 15 Apr 2006 19:43:21 +0000 Subject: [PATCH] Use a to get the two-columns becase CSS makes IE unhappy --- printer.css.php | 37 +++++++++++++------------------------ printer_navigation.php | 22 ++++++++++++++++------ 2 files changed, 29 insertions(+), 30 deletions(-) diff --git a/printer.css.php b/printer.css.php index da4874d..abe0bc2 100755 --- a/printer.css.php +++ b/printer.css.php @@ -270,6 +270,8 @@ input, textarea, select, option border-color: rgb(124, 128, 135); border-width: 1px; border-style: solid; + + width: 100%; } /* The actual tabbar */ @@ -279,8 +281,8 @@ input, textarea, select, option padding-left: 10px; - margin-bottom: -2px; - margin-top: 5px; + margin-bottom: -6px; + margin-top: 8px; } /* Links in the tabbar */ @@ -291,9 +293,7 @@ input, textarea, select, option text-transform: uppercase; text-decoration: none; - border: 1px solid green; /***/ - - padding: 10px 15px 10px 15px; + padding: 8px 15px 8px 15px; margin: 0px 1px 0px 0px; } @@ -308,29 +308,18 @@ input, textarea, select, option border-style: solid; } -/* ################################################################### */ -/* Template manager */ -/* ################################################################### */ - -/* The body of the template manager */ -.manager_body +#menu { - background: rgb(0, 0, 0); - color: rgb(255, 255, 255); -} - -/* A group of templates */ -.manager_group -{ - background: rgb(104, 110, 116); - color: rgb(255, 255, 255); + width: 20%; + + vertical-align: top; } -/* Items in a template group */ -.manager_group_item +#mainbody { - background: rgb(159, 169, 179); - color: rgb(55, 55, 55); + width: 80%; + + vertical-align: top; } CSS; diff --git a/printer_navigation.php b/printer_navigation.php index 525d84c..6ba59b1 100644 --- a/printer_navigation.php +++ b/printer_navigation.php @@ -198,6 +198,8 @@ class Printer_Navigation { $output = '' . "\n\n"; + // ------------------------------------------------------------------- + $output2 = array(); foreach ($this->toplinks AS $href => $text) { @@ -206,6 +208,8 @@ class Printer_Navigation $output .= implode(' • ', $output2); + // ------------------------------------------------------------------- + $output .= '
'; foreach ($this->tabs AS $key => $content) { @@ -221,10 +225,12 @@ class Printer_Navigation } $output .= "\n" . '
'; - $output .= "\n\n" . ''; - $output .= "\n" . '
'; + // ------------------------------------------------------------------- + + $output .= "\n" . '
'; + $output .= "\n" . ''; - $output .= '
'; + + $output .= "\n" . ''; + $output .= "\n" . ''; + + $output .= "\n\n" . '
'; return $output; } @@ -260,8 +268,10 @@ class Printer_Navigation { $output = ''; - $output .= "\n" . ''; - $output .= "\n\n" . ''; + $output .= "\n" . '
'; return $output; } -- 2.22.5