r21281 - htdocs/branches/beta/news - Fix the Google's +1 button position and news headings

Cristian Marchi cmarchi at code.gnucash.org
Wed Sep 21 05:45:48 EDT 2011


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

Modified:
   htdocs/branches/beta/news/news-script.php
Log:
Fix the Google's +1 button position and news headings

Modified: htdocs/branches/beta/news/news-script.php
===================================================================
--- htdocs/branches/beta/news/news-script.php	2011-09-21 09:25:43 UTC (rev 21280)
+++ htdocs/branches/beta/news/news-script.php	2011-09-21 09:45:48 UTC (rev 21281)
@@ -129,12 +129,12 @@
         $n = count($fa);
 ?>
 <div class="newsborder">
-  <div class="newsheader">
-    <div style="float:left; width:90%; background-color:rgb(202, 202, 247);">
+  <div class="newsheader" style="display:inline-block;background-color:#CACAF7;width:100%">
+    <div style="float:left; max-width:80%;">
     <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>
-  <div style="float:right; width:10%; background-color:rgb(202, 202, 247);">
+  <div style="float:right; min-width:100px;padding-top:5px">
   <!-- The google +1 button-->
   <g:plusone></g:plusone>
   </div>



More information about the gnucash-changes mailing list