r888 - html/trunk/lfs

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Apr 26 13:49:11 PDT 2007


Author: manuel
Date: 2007-04-26 14:49:11 -0600 (Thu, 26 Apr 2007)
New Revision: 888

Modified:
   html/trunk/lfs/adsense-main-header.html
Log:
Making the header a unique table.
Removed non valid XHTML-1.1 attributes.

Modified: html/trunk/lfs/adsense-main-header.html
===================================================================
--- html/trunk/lfs/adsense-main-header.html	2007-04-26 20:13:09 UTC (rev 887)
+++ html/trunk/lfs/adsense-main-header.html	2007-04-26 20:49:11 UTC (rev 888)
@@ -9,97 +9,66 @@
 
   <body>
 
-  <!-- Start Google AdSense Code Block -->
-<table class="adsense">
-<tr><td>
-  <script type="text/javascript"><!--
-    google_ad_client = "pub-1920546463376456";
-    google_ad_width = 728;
-    google_ad_height = 90;
-    google_ad_format = "728x90_as";
-    google_ad_type = "text";
-    google_ad_channel = "";
-  //-->
-  </script>
+    <table class="header">
+      <tr>
 
-  <script type="text/javascript"
-    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
-  </script>
-</td></tr>
-</table>
-  <!-- End Google AdSense Code Block -->
+      <!-- The LFS banner. -->
+        <td class="logo">
+          <a href="/index.html"><img src="lfs-logo.png"
+             alt="Linux From Scratch | Your Distro, Your Rules" /></a>
+        </td>
+      <!-- -->
 
-    <div id="banner"><a href="/index.html"><img src="/images/lfs-logo.png"
-	alt="Linux From Scratch | Your Distro, Your Rules" /></a></div>
-    <!-- Commenting this out as it breaks the page as it is not in any
-         kind of container and does not display properly
-         SiteSearch Google
-    -->
+      <!-- Google Adsense code -->
+        <td class="adsense">
+          <script type="text/javascript"><!--
+            google_ad_client = "pub-1920546463376456";
+            google_ad_width = 728;
+            google_ad_height = 90;
+            google_ad_format = "728x90_as";
+            google_ad_type = "text";
+            google_ad_channel = "";
+          //-->
+          </script>
+          <script type="text/javascript"
+            src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+          </script>
+        </td>
+      <!-- -->
 
-<!-- SiteSearch Google -->
-<form id="search" method="get" action="http://www.google.com/custom" target="_top">
-<table border="0" bgcolor="#ffffff">
+      <!-- Google Search code -->
+        <td class="search">
+          <form id="search" method="get" action="http://www.google.com/custom">
+            <table>
+              <tr>
+                <td>
+                  <label for="sbb" style="display: none">Submit search form</label>
+                  <input type="hidden" name="client" value="pub-1920546463376456"></input>
+                  <input type="hidden" name="forid" value="1"></input>
+                  <input type="hidden" name="ie" value="ISO-8859-1"></input>
+                  <input type="hidden" name="oe" value="ISO-8859-1"></input>
+                  <input type="hidden" name="safe" value="active"></input>
+                  <input type="hidden" name="cof"
+                    value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:128;L:http://www.linuxfromscratch.org/images/lfs-logo.png;S:http://www.linuxfromscratch.org;FORID:1"></input>
+                  <input type="hidden" name="hl" value="en"></input>
+                  <input type="hidden" name="domains" value="www.linuxfromscratch.org"></input>
+                  <label for="sbi" style="display: none">Enter your search terms</label>
+                  <input type="text" name="q" size="25" maxlength="255" value="" id="sbi"></input>
+                </td>
+              </tr>
+              <tr>
+                <td>
+                  <input type="radio" name="sitesearch" value="" id="ss0"></input>
+                  <label for="ss0" title="Search the Web">Web</label>
+                  <input type="radio" name="sitesearch" value="www.linuxfromscratch.org" checked="checked" id="ss1"></input>
+                  <label for="ss1" title="Search www.linuxfromscratch.org">LFS</label>
+                  <input type="submit" name="sa" value="Google Search" id="sbb"></input>
+                </td>
+              </tr>
+            </table>
+          </form>
+        </td>
+      <!-- -->
 
- <tr>
-    <td nowrap="nowrap">
-      <label for="sbb" style="display: none">Submit search form</label>
-      <input type="hidden" name="client" value="pub-1920546463376456"></input>
-      <input type="hidden" name="forid" value="1"></input>
-      <input type="hidden" name="ie" value="ISO-8859-1"></input>
-      <input type="hidden" name="oe" value="ISO-8859-1"></input>
-      <input type="hidden" name="safe" value="active"></input>
-      <input type="hidden" name="cof"
-        value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:128;L:http://www.linuxfromscratch.org/images/lfs-logo.png;S:http://www.linuxfromscratch.org;FORID:1"></input>
-      <input type="hidden" name="hl" value="en"></input>
-    </td>
-  </tr>
-
-  <tr>
-    <td nowrap="nowrap" valign="top" align="left" height="32">
-      <input type="hidden" name="domains" value="www.linuxfromscratch.org"></input>
-      <label for="sbi" style="display: none">Enter your search terms</label>
-      <input type="text" name="q" size="25" maxlength="255" value="" id="sbi"></input>
-    </td>
-  </tr>
-
-  <tr>
-    <td>
-      <input type="radio" name="sitesearch" value="" checked id="ss0"></input>
-      <label for="ss0" title="Search the Web"><font size="-1" color="#000000">Web</font></label>
-      <input type="radio" name="sitesearch" value="www.linuxfromscratch.org" id="ss1"></input>
-      <label for="ss1" title="Search www.linuxfromscratch.org"><font size="-1" color="#000000">LFS</font></label>
-      <input type="submit" name="sa" value="Google Search" id="sbb"></input>
-    </td>
-  </tr>
- 
-</table>
-</form>
-<!-- SiteSearch Google -->
-
-    <!-- Old search form. Google AdSense provides one too
-    <form id ="search" method="get" action="http://www.google.com/search">
-      <p>
-
-        <input type="hidden" name="ie" value="UTF-8" />
-        <input type="hidden" name="oe" value="UTF-8" />
-        <input type="hidden" name="domains" value="linuxfromscratch.org" />
-        <input type="hidden" name="sitesearch" value="linuxfromscratch.org" />
-        <input type="text" name="q" size="31" maxlength="255" />
-        <input type="submit" name="btnG" value="Google Search" />
-      </p>
-    </form> 
-   -->
-
-   <!-- Search Mailing Lists -->
-   <!--
-   <form id="search" method="get" action="http://search.linuxfromscratch.org/index.cgi">
-     <p>
-	<label title="Enter your search terms">
-	 <input type="text" name="query" size="31" maxlength="255" accesskey="s" />
-	</label>
-	<label title="Submit the search terms">
-	 <input type="submit" value="Search" />
-	</label>
-     </p>
-   </form>
-   -->
+      </tr>
+    </table>




More information about the website mailing list