r21277 - htdocs/branches/beta/news - More test on positioning for Google's +1 button

Cristian Marchi cmarchi at code.gnucash.org
Wed Sep 21 05:15:53 EDT 2011


Author: cmarchi
Date: 2011-09-21 05:15:52 -0400 (Wed, 21 Sep 2011)
New Revision: 21277
Trac: http://svn.gnucash.org/trac/changeset/21277

Modified:
   htdocs/branches/beta/news/news-script.php
Log:
More test on positioning for Google's +1 button

Modified: htdocs/branches/beta/news/news-script.php
===================================================================
--- htdocs/branches/beta/news/news-script.php	2011-09-21 08:55:11 UTC (rev 21276)
+++ htdocs/branches/beta/news/news-script.php	2011-09-21 09:15:52 UTC (rev 21277)
@@ -130,6 +130,7 @@
 ?>
 <div class="newsborder">
   <div class="newsheader">
+    <div style="float:left; width:90%; background color:rgb(202, 202, 247);">
     <img src="<?=$top_dir?>/images/icons/document.txt.gif" width="16" height="16" alt="[news]" /> 
     <a style="text-decoration:none;color:black;" onmouseover="this.style.backgroundColor='#cacaf7';" onmouseout="this.style.backgroundColor='#cacaf7';" name="<?=generate_anchor($key)?>"><?= $fa[0]; ?> - <b><?= $newsfile[$key] ?></b></a>
   </div>
@@ -137,9 +138,12 @@
   <? for ($i=2; $i<$n; $i++)  {
           print $fa[$i];
      } ?>
-<!-- The google +1 button-->
-<g:plusone></g:plusone>
+  <div style="float:right; width:10%; background color:rgb(202, 202, 247);">
+  <!-- The google +1 button-->
+  <g:plusone></g:plusone>
   </div>
+
+  </div>
 </div>
 <?
     }



More information about the gnucash-changes mailing list