directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r701205 - in /directory/sandbox/felixk/skins/studio-skin/src/main/resources: META-INF/maven/site.vm css/site.css
Date Thu, 02 Oct 2008 18:33:56 GMT
Author: felixk
Date: Thu Oct  2 11:33:55 2008
New Revision: 701205

URL: http://svn.apache.org/viewvc?rev=701205&view=rev
Log:
Some fights against MSIEs css support (or not support...)

Modified:
    directory/sandbox/felixk/skins/studio-skin/src/main/resources/META-INF/maven/site.vm
    directory/sandbox/felixk/skins/studio-skin/src/main/resources/css/site.css

Modified: directory/sandbox/felixk/skins/studio-skin/src/main/resources/META-INF/maven/site.vm
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/skins/studio-skin/src/main/resources/META-INF/maven/site.vm?rev=701205&r1=701204&r2=701205&view=diff
==============================================================================
--- directory/sandbox/felixk/skins/studio-skin/src/main/resources/META-INF/maven/site.vm (original)
+++ directory/sandbox/felixk/skins/studio-skin/src/main/resources/META-INF/maven/site.vm Thu
Oct  2 11:33:55 2008
@@ -303,23 +303,24 @@
     #end
 
     <!--[if lt IE 8]>
-    <style type="text/css">
-    #content, #leftColumn, #rightColumn {
-    float: left;
-    }
-    </style>
-    
-    <script type="text/javascript">
-    function layout_colheight()
-    {
-        var h = document.getElementById("a").scrollHeight;
-        document.getElementById("content").style.height = h+'px';
-        document.getElementById("leftColumn").style.height = h+'px';
-        document.getElementById("rightColumn").style.height = h+'px';
-    }
-    window.onload = layout_colheight;
-    </script>
+      <style type="text/css">
+        #leftColumn, #rightColumn {
+          float: left;
+        }
+      </style>
+
+      <script type="text/javascript">
+        function layout_colheight()
+        {
+          var h = document.getElementById("content").scrollHeight;
+          document.getElementById("leftColumn").style.height = h+'px';
+          document.getElementById("rightColumn").style.height = h+'px';
+          document.getElementById("rightColumn").style.paddingRight = 0+'px';
+        }
+        window.onload = layout_colheight;
+      </script>
     <![endif]-->
+
   </head>
 
   <body>

Modified: directory/sandbox/felixk/skins/studio-skin/src/main/resources/css/site.css
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/skins/studio-skin/src/main/resources/css/site.css?rev=701205&r1=701204&r2=701205&view=diff
==============================================================================
--- directory/sandbox/felixk/skins/studio-skin/src/main/resources/css/site.css (original)
+++ directory/sandbox/felixk/skins/studio-skin/src/main/resources/css/site.css Thu Oct  2
11:33:55 2008
@@ -98,8 +98,10 @@
 }
 
 #content {
-	display: table;
-	width: 1000px;
+    display: table;
+    width: 1000px;
+    margin: auto;
+    text-align: left;
     background: url(../images/content-background.png) repeat-y;
 }
 
@@ -118,7 +120,7 @@
 
 #rightColumn {
     display: table-cell;
-	width: 794px;
+    width: 794px;
     padding-right: 25px;
     text-align: left;
     padding-top: 8px;



Mime
View raw message