[svnbook] r4286 committed - * www/index.en.html...

svnbook at googlecode.com svnbook at googlecode.com
Wed Aug 1 09:30:16 CDT 2012


Revision: 4286
Author:   cmpilato at gmail.com
Date:     Wed Aug  1 07:30:07 2012
Log:      * www/index.en.html
* www/styles.css
   Add a Google site search box.  Also, move the sponsorship/Amazon links
   to the right side of the page.

http://code.google.com/p/svnbook/source/detail?r=4286

Modified:
  /www/index.en.html
  /www/styles.css

=======================================
--- /www/index.en.html	Thu Dec 15 10:50:07 2011
+++ /www/index.en.html	Wed Aug  1 07:30:07 2012
@@ -22,7 +22,22 @@
  <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  </script>
-
+</div> <!-- #leftcolumn -->
+
+<div id="rightcolumn">
+
+<form id="googlesearch" method="get" action="http://www.google.com/search">
+<div style="width: 100px; display: inline;">
+<input value="svnbook.red-bean.com" name="sitesearch" type="hidden" />
+<input type="text" name="q" style="width: 140px; color: gray;"
+       value="Search the site..."
+       onclick="if(this.value == 'Search the site...') { this.value = '';
+                this.style.color = 'black'; }" />
+<input type="submit" value="Go" />
+<p>Powered by Google.</p>
+</div>
+</form>
+<hr/>
  <p><a href="http://www.onShore.com/"><img
        src="./images/onShore.jpg"
        alt="Hosted by onShore" /></a></p>
@@ -35,11 +50,10 @@
  <p><a href="http://creativecommons.org/licenses/by/2.0/"><img
        src="./images/somerights20.png"
        alt="Some Rights Reserved" /></a></p>
-</div>
-
-<table id="pagetable">
-<tr>
-<td id="content">
+</div> <!-- #rightcolumn -->
+
+<div id="main">
+<div id="content">

  <h1 class="bar"> </h1>
  <h1 class="tagline">The Standard in Open Source Version Control</h1>
@@ -214,9 +228,8 @@
        hreflang="zh" lang="zh" rel="alternate">中文</a>
  </p>

-</td>
-</tr>
-</table>
+</div> <!-- #content -->
+</div> <!-- #main -->

  <script src="http://www.google-analytics.com/urchin.js"  
type="text/javascript">
  </script>
=======================================
--- /www/styles.css	Fri Nov 11 11:34:25 2011
+++ /www/styles.css	Wed Aug  1 07:30:07 2012
@@ -1,5 +1,5 @@
  /*
- * Copyright (c) 2004-2007
+ * Copyright (c) 2004-2012
   * Ben Collins-Sussman, Brian W. Fitzpatrick, C. Michael Pilato.
   *
   * This work is licensed under the Creative Commons Attribution License.
@@ -80,6 +80,33 @@
  {
  	text-align: center;
  }
+
+#main
+{
+    width: 700px;
+    position: absolute;
+    top: 0px;
+    left: 130px;
+}
+
+#rightcolumn
+{
+    width: 200px;
+    position: absolute;
+    top: 0px;
+    left: 835px;
+}
+
+#rightcolumn p
+{
+    margin: 0.25em 0;
+    font-size: 0.8em;
+}
+
+#googlesearch
+{
+    margin: 1em 0;
+}

  #pagetable
  {




More information about the svnbook-dev mailing list