Small XHTML tidying: move from <center> elements to <div> + CSS
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Nov 2007 12:56:05 +0000 (12:56 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 7 Nov 2007 12:56:05 +0000 (12:56 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8026 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/css/layout.css
Open-ILS/web/opac/skin/default/xml/body.xml
Open-ILS/web/opac/skin/default/xml/footer.xml
Open-ILS/web/opac/skin/default/xml/home/index_body.xml

index 978fffc..5a0d463 100644 (file)
@@ -203,11 +203,42 @@ table { border-collapse: collapse; }
 
 .copy_more_info { padding-left: 6px; color: #804070; }
 
-
 .invalid_hold { background: #F0F0D0; }
 .myopac_summary_table td { padding : 3px; }
 
 .jacket_attrib { font-size: 7pt; }
 
+/* block that contains footer links and copyright */
+#copyright_block { 
+    width: 100%; 
+    text-align: center; 
+    vertical-align: bottom; 
+    margin-top: 10px;
+}
+
+/* block that contains the footer links */
+#footer_links {
+    width: 80%;
+    text-align: center;
+    padding: 10px;
+    margin: auto;
+}
+
+/* span for each link in the footer */
+.footer-link {
+    margin-left: 10px;
+    margin-right: 10px;
+}
+
+/* block that contains the copyright text */
+#copyright_text {
+    margin-top: 4px;
+}
+
+/* block that contains the logo */
+#footer_logo {
+    text-align: center;
+    margin: auto;
+}
 
 
index 98d7da7..e916df7 100644 (file)
@@ -29,7 +29,5 @@
                        </tr>
                </tbody>
        </table>
-       <center>
                <!--#include virtual='footer.xml'-->
-       </center>
 </body>
index 16129c3..d74a0ca 100644 (file)
@@ -1,15 +1,5 @@
-<div
-       style='width: 100%; text-align:center; vertical-align: bottom; margin-top: 20px;'>
-       <center id='copyright_block'>
-               <style>
-                       .footer_link {
-                               margin-left: 10px; 
-                               margin-right: 10px;
-                       }
-               </style>
-
-               <div style='width: 60%; text-align:center; padding: 10px; font-size: 8pt;'>
-
+<div id='copyright_block'>
+               <div id='footer_links'>
                                <span class='footer_link'>
                                        <a class='classic_link'
                                                href='/opac/<!--#echo var="locale"-->/extras/slimpac/start.html'>&opac.basic;</a>
                                </span>
                                <span> | </span>
                                <span class='footer_link'>
-                                       <a target='' class='classic_link' id='eg_gal_link'
+                                       <a target='_blank' class='classic_link' id='eg_gal_link'
                                                href='&footer.union.url;'>&footer.union;</a>
                                </span>
-                               <br/>
-                               <div style='margin-top: 4px; font-size: 7pt;'>
-                                       <span>&footer.copyright;</span>
-                               </div>
                </div>
-        <div>&footer.logo;
+        <div id='copyright_text'>
+            <span>&footer.copyright;</span>
+        </div>
+        <div id='footer_logo'>&footer.logo;
             <a href='http://open-ils.org'><img style='border:none;' src='../../../../images/eg_tiny_logo.jpg'/></a>
         </div>
-       </center>
 </div>
index 01037ac..f9a3e23 100644 (file)
@@ -31,9 +31,7 @@
             } catch(ee) {}
         }
     </script>
-       <center>
                <!--#include virtual='../footer.xml'-->
-       </center>
 </body>