r878 - html/trunk/lfs

Bruce Dubbs bruce.dubbs at gmail.com
Wed Apr 25 20:23:46 PDT 2007


gerard at linuxfromscratch.org wrote:
> Author: gerard
> Date: 2007-04-25 20:57:07 -0600 (Wed, 25 Apr 2007)
> New Revision: 878
> 
> Added:
>    html/trunk/lfs/adsense-header.html
>    html/trunk/lfs/adsense-main-header.html
> Modified:
>    html/trunk/lfs/adsense.html

There are a couple of problems here.  I went to the page and looked at
the generated code:

  <!-- Start Google AdSense Code Block -->
<center>

  <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>
</center>
  <!-- End Google AdSense Code Block -->

  <body>

1. The code is before the <body>.
2. <center> is not XHTML 1.1  compliant.
3. One ad is obscured by the logo.

How about changing to:

</head>
<body>
<div style='float:right'>

  google stuff
</div>

  -- Bruce



More information about the website mailing list