Code

externalized divlist class
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 12 Dec 2005 13:43:21 +0000 (13:43 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 12 Dec 2005 13:43:21 +0000 (13:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2299 594d385d-05f5-0310-b6e9-bd551577e9d8

html/themes/default/style.css
include/class_divlist.inc

index e9ee6e40434e06dc30a22a20fbb4f56d3e848f37..da84c56c555d07d771d2d84cbc0e5c22b252e0f8 100644 (file)
@@ -26,6 +26,12 @@ td.scrollbody {
        padding:0px;
 }
 
+div.scrollbody {
+       background-color:#ffffff;
+       overflow:auto;
+       text-align:left;
+}
+
 td.listheader#icon {
        width:20px;
 }
index debbfd9b182ecf32f1c2e1825bab334eb9098029..33a65dfff404788b4fe2969f8474155d88fab672 100644 (file)
@@ -132,7 +132,7 @@ class divlist {
    
     if($this->i_entriesPerPage == 0) {
       // We need to construct a "body"-table that is width-of-scrollbar thinner than the "head"-table.
-      $s_return .= "\n<tr><td colspan='".$this->cols."' class='scrollbody'><div style='align:left;width:".$this->s_width."px;height:".($this->s_height-20)."px;overflow:auto;background-color:#ffffff;'>";
+      $s_return .= "\n<tr><td colspan='".$this->cols."' class='scrollbody'><div style='width:".$this->s_width."px;height:".($this->s_height-20)."px;' class='scrollbody'>";
 
       $s_return .= "<table style='height:100%;width:581px;' cellspacing='0'>";
        }